From: Eric Hodel Date: 2005-01-30T06:38:53+09:00 Subject: Re: Current state of Ruby i18n? --Apple-Mail-12--121519369 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-12--121519369 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFB/AJRMypVHHlsnwQRAqrkAKDwKFt6IY+zDRDIJtcj6QU8ePpWbQCgmQN+ VsCR8qh37FKFqUf9tQOCQME= =DF9r -----END PGP SIGNATURE----- --Apple-Mail-12--121519369--