String encoding problem
String encoding problem
- Subject: String encoding problem
- From: Tito Ciuro <email@hidden>
- Date: Sun, 31 Aug 2003 13:18:15 +0200
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.