[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Log Bug ?

From: Björn Gohla
Subject: Re: Log Bug ?
Date: Mon, 18 Mar 2002 12:45:48 +0100

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. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]