From: Jonathan P. <jp...@dc...> - 2005-07-29 14:13:33
|
On 29 Jul 2005, at 15:01, Matt Mower wrote: > .....................2005-07-29 14:47:23.044 ruby[15149] *** Uncaught > exception: <NSCharacterConversionException> Conversion to encoding 30 > failed for string "=E3=82=AA=E3=83=96=E3=82=B8=E3=82=A7=E3=82=AF=E3=83=88= =E6=8C=87=E5=90=91=E3=82=B9=E3=82=AF=E3=83=AA=E3=83=97=E3=83=88=E8=A8=80=E8= =AA=9ERuby" > Trace/BPT trap > ---output--- > > A search of the mailing list archives didn't turn up anything about > this problem. I did find people talking about NSCharacterConversion > problems in terms of Cocoa in general but I'm not familar enough the > Mac/Cocoa to follow. > > Can anyone help me? I think this message from ruby-talk covers the same problem: http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/135408 The string is being converted to your local 8-bit character set =20 (probably MacRoman) and that fails. RubyCocoa CVS fixes this by using =20= UTF-8 throughout. Hope that makes sense Jonathan |