From: kimura wataru Date: 2005-03-27T20:00:18+09:00 Subject: Re: RubyCocoa 0.4.1: problem with stringValue (NSCharacterConversionException) 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. >Hi, > >I'm trying the itunes_albums.rb example, but stringValue fails for an >album name that contains cyrillic characters: >2005-03-26 13:15:26.564 ruby[3995] *** Uncaught exception: > Conversion to encoding 30 failed for >string "??????$B(^?^(B??? ?$Bb^(B????$Bb^(B? 4" > >Is it possible to get the unconverted unicode string? > >Andreas >