Hi guys, A user of Phratch said to me that the japanese characters are not recognized in Phratch. I tried to locate the problem and it seems that Pharo itself does not recognize them. In a Phratch image, just run this line, that display the contents of a file with japaneze character: (FileSystem workingDirectory / 'locale' / 'ja.po') contents Or, use the attached file, which is the same. Is it a known problem ? or should I configure something in settings to take into account these characters ? Thank you. -- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://car.mines-douai.fr/
Hi Jannik, Of course, it can be done ;-) First make sure you set a Unicode font, then working with Japanese characters should be no problem: Of course, encoding is something else, but UTF-8 will certainly work. For the above, I just copy/pasted some text from Wikipedia (I am on Mac OS X). HTH, Sven On 10 Apr 2014, at 17:26, jannik laval <jannik.laval@gmail.com> wrote:
Hi guys,
A user of Phratch said to me that the japanese characters are not recognized in Phratch. I tried to locate the problem and it seems that Pharo itself does not recognize them.
In a Phratch image, just run this line, that display the contents of a file with japaneze character: (FileSystem workingDirectory / 'locale' / 'ja.po') contents
Or, use the attached file, which is the same.
Is it a known problem ? or should I configure something in settings to take into account these characters ?
Thank you.
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://car.mines-douai.fr/
<ja.po>
Thank you Sven, I can use it in Phratch now :) Cheers, Jannik 2014-04-10 17:55 GMT+02:00 Sven Van Caekenberghe <sven@stfx.eu>:
Hi Jannik,
Of course, it can be done ;-)
First make sure you set a Unicode font, then working with Japanese characters should be no problem:
Of course, encoding is something else, but UTF-8 will certainly work. For the above, I just copy/pasted some text from Wikipedia (I am on Mac OS X).
HTH,
Sven
On 10 Apr 2014, at 17:26, jannik laval <jannik.laval@gmail.com> wrote:
Hi guys,
A user of Phratch said to me that the japanese characters are not recognized in Phratch. I tried to locate the problem and it seems that Pharo itself does not recognize them.
In a Phratch image, just run this line, that display the contents of a file with japaneze character: (FileSystem workingDirectory / 'locale' / 'ja.po') contents
Or, use the attached file, which is the same.
Is it a known problem ? or should I configure something in settings to take into account these characters ?
Thank you.
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://car.mines-douai.fr/
<ja.po>
-- ~~Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://car.mines-douai.fr/
participants (2)
-
jannik laval -
Sven Van Caekenberghe