Thanks Matz On Jan 10, 2008 9:38 AM, Yukihiro Matsumoto <matz / ruby-lang.org> wrote: > Hi, > > In message "Re: Draft of some pages about encoding in Ruby 1.9" > on Fri, 11 Jan 2008 02:22:08 +0900, "Ujwal Reddy Malipeddi" <ujwalic / gmail.com> writes: > > |I think the document assumes that the terminal/console supports > |various encoding and the current terminal font has glyphs to represent > |the characters > > Ruby does not handle glyphs nor fonts. > > |does 1.9 support other BOMs? > > No, Ruby does not handle BOM. They are evil. The only exception is > UTF-8 BOM at the beginning of Ruby programs. > > |Encoding > |* UTF-8 > > Yes. > > |* UTF-16 Big Endian > |* UTF-16 Little Endian > |* UTF-32 Big Endian > |* UTF-32 Little Endian > > Yes, in the trunk. > > |* UTF-7 > > Not yet, but possible. Ruby allows user defined encoding. > > |* UTF-EBCDIC > > Ruby programs must be in ASCII compatible encoding. The encoding > itself can be supported, I guess. We've never tried non ASCII > compatible encoding before. > > |* SCSU > |* BOCU-1 > > I don't know these. > > |which version of Unicode is supported in 1.9? > > Ruby does not cover version sensitive area of Unicode (character > repertoire etc) yet. It should be handled by external library, > e.g. unicode gem. > > matz. > > -- ~// Work is Worship. Work Smart :) //~