James Britt
1/29/2005 9:57:00 PM
Eric Hodel wrote:
> On 29 Jan 2005, at 13:17, James Britt wrote:
>
>> What's the current state of i18n in Ruby?
>>
>> If I wanted to build a Web site that offered content in multiple
>> languages for people in various Asian countries could Ruby handle the
>> task?
>>
>> Is there anything that documents this (i.e., explains the gory details
>> and gives examples)?
>
>
> You'll want to:
>
> $KCODE = 'u'
> require 'jcode'
>
> To make string functions multibyte-capable.
>
> Be sure your data store handles UTF-8, and you set the right
> content-encoding for your pages.
>
> We've got all kinds of (user entered) multibyte strings on 43 Things,
> but haven't yet translated any of our internals.
Thanks!
James