Hi Sven, why ByteArray? does not work (Improper store into indexable object): OSProcess command: ('cp /Library/WebServer/Documents/reports/bär.pdf /Library/WebServer/Documents/reports/test-a.pdf' utf8Encoded asString). works: OSProcess command: ('cp /Library/WebServer/Documents/reports/bär.pdf /Library/WebServer/Documents/reports/test-a.pdf' utf8Encoded) Perhaps David can add this here: command: aCommandString "Run a command in a shell process. Similar to the system(3) call in the standard C library, except that aCommandString runs asynchronously in a child process. The command is run by a ConnectedUnixProcess in order to facilitate command pipelines within Squeak." "UnixProcess thisOSProcess command: 'ls -l /etc'" | proc | pid isNil ifTrue: [self class noAccessorAvailable. ^nil] ifFalse: [proc := self forkJob: ExternalUnixOSProcess defaultShellPath arguments: (Array with: '-c' with: aCommandString utf8Encoded asString) <<<=== environment: nil descriptors: nil. proc ifNil: [self class noAccessorAvailable]. ^ proc] regards Sabine
2016-06-06 8:41 GMT+02:00 Sabine Manaa <manaa.sabine@gmail.com>:
Hi Dave,
I get the german ä with:
(Character value: 228) asString
Do you want me to go in it and suggest a solution or do you want to try to fix it and I test it?
Thanks for helping!
Regards Sabine
2016-06-05 23:08 GMT+02:00 David T. Lewis [via Smalltalk] <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4899318&i=0>>:
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/OSProcess-command-with-german-umlaut-does-not-work-tp4... To start a new topic under Pharo Smalltalk Users, email [hidden email] <http:///user/SendEmail.jtp?type=node&node=4899318&i=1> To unsubscribe from Pharo Smalltalk Users, click here. NAML <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant...>
------------------------------ View this message in context: Re: OSProcess command with german umlaut does not work <http://forum.world.st/OSProcess-command-with-german-umlaut-does-not-work-tp4...> Sent from the Pharo Smalltalk Users mailing list archive <http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html> at Nabble.com.