From: James Gray Date: 2008-09-15T00:43:51+09:00 Subject: [ruby-core:18579] Re: Working on CSV's Encoding Support On Sep 13, 2008, at 11:55 PM, James Gray wrote: > I tried to test with UTF-16 as well, since I think that's a good > edge case. However, we don't seem to have a converter for that: > > $ ruby_dev ~/Desktop/regexp_encoding.rb # > # > /Users/james/Desktop/regexp_encoding.rb:15:in `encode': code > converter not found (US-ASCII to UTF-16) (Encoding::NoConverter) > from /Users/james/Desktop/regexp_encoding.rb:15:in `
' This was my fault. UTF-16 is not a valid encoding name. Once I switched to UTF-16LE or UTF-16BE it worked fine. James Edward Gray II