My code to download some UTF8 text with japanese kanji from an url: url := 'http://www.hatinosu.net/onsen/import.kml' asZnUrl. url_string := url retrieveContents. url_string class. ByteString
Now the japanese parts of url_string are unreadable. What I need is WidString and not ByteString. On linux I "solved" the problem with this workaround. download := 'wget -O /tmp/file.tmp "http://www.hatinosu.net/onsen/import.kml"'. OSProcess thisOSProcess waitForCommand: download. fs := FileStream fileNamed: '/tmp/file.tmp'. string := fs contents. fs close. string class. WideString How do I do this without extern programms? Dirk.