From: KUBO Takehiro Date: 2010-02-09T22:14:21+09:00 Subject: Re: Ruby 'C' Extensions and Unicode On Tue, Feb 9, 2010 at 10:06 PM, KUBO Takehiro wrote: >  rb_encoding *ucs2_enc = rb_enc_find("UCS-2"); >  rb_encoding *ucs4_enc = rb_enc_find("UCS-4"); Sorry, UCS-2 and UCS-4 are not defined in ruby 1.9.1. Use UTF-16LE, UTF-16BE, UTF-32LE or UTF-32BE instead.