From: Jonathan Paisley Date: 2005-04-11T18:49:37+09:00 Subject: Re: RubyCocoa 0.4.1: problem with stringValue (NSCharacterConversionException) On Sun, 27 Mar 2005 21:00:18 +0900, kimura wataru wrote: > Thanks for your reporting. > > That's a bug of RubyCocoa, maybe. > RubyCocoa calls method -[NSString cString] in some procedure. In this > method, an exception occurs when system cannot convert encoding of the > receiver string to "default encoding", not Unicode, without loss. The > default encoding is determined from your language setting on System > Preferences > International. Would it be appropriate to replace all calls to [NSString cString] with [NSString UTF8String]? (and set $KCODE='u' in Ruby)