Comment 1 for bug 1412834

hilaire (hilaire-fernandes) wrote :

The path string received by Pharo should be converted to UTF8. I thought it was already in that format, but no because Pharo internal string are not UTF-8.

To fix the issue, modify following methods:

DrGeoCommandLineHandler>>loadScript: aString
 | workspace utfString |
 utfString := aString convertFromWithConverter: UTF8TextConverter new.
 self checkForFile: utfString.
 workspace := Workspace openFile: utfString.
 workspace containingWindow fullscreen.
 Compiler evaluate: workspace contents

and

DrGeoCommandLineHandler>>loadSketch: aString
 | utfString |
 utfString := aString convertFromWithConverter: UTF8TextConverter new.
 self checkForFile: utfString.
 DrGeo fileFullscreen: utfString