On Monday 18 March 2002 12:18, Manuel Guesdon wrote: > Hi, > > When I log (with NSDebugFLog or NSDebugLog) string with characters like �, > I get strange characters: é > > He is an example: > NSString* aTest=[NSString stringWithString:@"�"]; > NSString* aTest2=[NSString stringWithFormat:@"%@",@"�"]; > [aTest writeToFile:@"/tmp/zz" > atomically:NO]; > NSDebugFLog(@"%@",aTest); > [aTest2 writeToFile:@"/tmp/zz2" > atomically:NO]; > NSDebugFLog(@"%@",aTest2); > > /tmp/zz and /tmp/zz2 are good but not the traces. > > BTW, I have GNUSTEP_STRING_ENCODING=NSISOLatin1StringEncoding in my env.
this looks like the output is utf encoded while your terminal is in single byte mode. _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
