Hi, At Thu, 23 Apr 2009 10:10:45 +0900, Daly wrote in [ruby-talk:334732]: > I figured it out and fixed it by doing: > > Iconv.iconv("UTF8", "UCS-2BE", row) > > Which works on both environments. I fixed it by reading about encoding > and trial and error, so I'm left with a working solution, but not > knowing why it works on the Mac but not in Linux. Could someone please > explain? It seems a bug of Ubuntu iconv. According to Unicode Consortium, UCS-2 is defaulted to big endian if no BOM exists. Explicit endianness anyway. Ruby 1.9 does not provide UCS names without endians. -- Nobu Nakada