• 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: Tito Ciuro <email@hidden>
  • Date: Sun, 31 Aug 2003 14:27:42 +0200

Hello,

I just saw that the email has skipped the offending character (option-0; zero) and has replaced it with ':'

103 Olifac N: 3

-- Tito

On domingo, agos 31, 2003, at 13:18 Europe/Paris, Tito Ciuro wrote:

Hello,

I'm importing the following string from a text file:

103 Olifac N: 3

This string is stored in char* buffer, and when I convert it to an
NSString via:

NSString* string = [NSString stringWithUTF8String: buffer];

string becomes nil. I'm using stringWithUTF8String because the import
file contains accents. Any idea why this is failing?

Thanks,

-- Tito
_______________________________________________
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: 
 >String encoding problem (From: Tito Ciuro <email@hidden>)

  • Prev by Date: String encoding problem
  • Next by Date: Re: String encoding problem
  • Previous by thread: String encoding problem
  • Next by thread: Re: String encoding problem
  • Index(es):
    • Date
    • Thread