• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String encoding problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: String encoding problem (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: How to get the current classic Sytem folder path?
  • Next by Date: Unicode and NSTextField (newbie question)
  • Previous by thread: Re: String encoding problem
  • Next by thread: reading the state of USB keys and mouse buttons
  • Index(es):
    • Date
    • Thread