Jan. 20, 2015
3:21 p.m.
Responding to myself for archiving purpose. I forgot again Pharo internal string are not utf-8 but ByteString, so the string need to be converted back to utf8. For example in one of the handler method, it can be modified as follow: DrGeoCommandLineHandler>>loadSketch: aString | utfString | utfString := aString convertFromWithConverter: UTF8TextConverter new. self checkForFile: utfString. DrGeo fileFullscreen: utfString Et voilà . Hilaire Le 20/01/2015 15:20, Hilaire a écrit :
But once in Pharo, the string representing the path to the file is wrongly interpreted, I have this error from Pharo:
Error: /home/hilaire/Axe-Symétrie/axes de symétrie.fgeo does not exist!
-- Dr. Geo - http://drgeo.eu iStoa - http://istoa.drgeo.eu