Re: String encoding problem
Re: String encoding problem
- Subject: Re: String encoding problem
- From: Tackel <email@hidden>
- Date: Fri, 07 Mar 2003 19:18:18 +0100
Many thanks to all of.
Tackel.
>
From: Chris Ridd <email@hidden>
>
Date: Fri, 07 Mar 2003 07:24:24 +0000
>
To: <email@hidden>
>
Subject: Re: String encoding problem
>
>
On 6/3/03 5:57 pm, TACKEL <email@hidden> wrote:
>
>
> Hi,
>
>
>
> I have an encoding problem I don't know how to solve?.
>
>
>
> After using NSLog(NSFullUserName()) to retrieve the full user name of the
>
> current user I get:
>
>
>
> Y\\372s G\\351b
>
>
>
> When it should be Yzs Gib.
>
>
(I assume your "z" and "i" got mangled by email and were something else.)
>
>
Don't rely on NSLog to output the exact characters from the string; it will
>
often transform it while printing (for instance backslashes get printed
>
multiple times). Check the archives at cocoa.mamasam.com for details.
>
>
Cheers,
>
>
Chris
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.