Squeak on UTF-8 system

Sungjin Chun chunsj at embian.com
Sat Mar 18 01:53:36 UTC 2006


For VM, maybe, I think there should be an option for specifying I/O  
encoding. For my case, I did modified VM code (actually my system,  
Mac OS X is configured to use UTF-8 and VM code is modified so that  
it does no conversion).

For Image, yes you have to create/modify some classes and code so  
that it use UTF-8 as default encoding instead of default iso-8859-1.  
Again, for my case, I did modified image so that it does perform I/O  
with UTF-8.

On Mar 18, 2006, at 3:07 AM, Petr wrote:

> Do I have use modified VM or some special UTF-8 enabled image?
>
> Petr
>
>
>
> Sungjin Chun wrote:
>> On Mar 16, 2006, at 10:23 PM, Petr wrote:
>>>
>>> 2) WAKomEncoded: Unfortunately it means, I can have accented text  
>>> entered into my image only through web interface. So I tried  
>>> WAKomEncoded, which successfully recodes from Squeak to UTF-8 and  
>>> renders text properly in browser. BUT text entered in browser and  
>>> displayed back is not recoded properly. The UTF-8 conversion  
>>> substitutes the letters with accent with other combination of  
>>> characters then it should.
>>> This problem arises on system with any encoding.
>>>
>>> Cheers,
>>>
>>> Petr
>> does your squeak uses UTF-8? As far as I know default system does  
>> not use this encoding and I (using Korean and UTF-8) have to  
>> modified squeak so that it use UTF-8 encoding and after this I can  
>> get correct display in both browser and web browser(seaside  
>> application). Hope this can help you.
>> PS)
>> I think Squeak should use UTF-8 (or any equivalent unicode based  
>> encoding scheme, I think UTF-8 is best choice) exclusively.
>
>




More information about the Squeak-dev mailing list