[Seaside] [Q] Rendering Unicode String

Avi Bryant avi.bryant at gmail.com
Sat Feb 18 20:48:04 UTC 2006


On Feb 18, 2006, at 7:17 AM, Sungjin Chun wrote:

> Hi,
>
> I'm currently learning seaside using tutorials in seaside site.  
> Now, I've encountered problems in rendering unicode string(korean).  
> I've used heading: method in renderContentOn: method. The arguments  
> are WideString with value of '한글' (this means korean alphabet)  
> it displayed correctly with System Browser and I can read/write  
> this string from/to file as UTF-8 without problem. But my seaside  
> application, "hello", does not work; actually it  casts html to  
> browser only some first part. If I remove '한글' from  
> renderContentOn: or replace it with english string like 'Korean',  
> it works again. Can anyone let me know the process of rendering(the  
> methods/classes and etc) so that I can track this bug?
>
> Thanks in advance.

If you aren't already, try using "WAEncodedKom startOn: 9090" instead  
of "WAKom startOn: 9090".  This will do the proper conversions to and  
from UTF-8 from WideString.

Avi


More information about the Seaside mailing list