NSString Drawing Accents
NSString Drawing Accents
- Subject: NSString Drawing Accents
- From: Karl Goiser <email@hidden>
- Date: Tue, 15 Apr 2003 09:12:22 +1000
Hello,
If I have an NSString containing what I presume is UTF-8 characters
like accented letters and try to display it using the drawInRect method
or even put it in a cell and try to draw it, I get a completely
different string. Specifically, a single accented character will be
displayed as two, one generally being a square root sign...
ProjectBuilder displays the data correctly in the editor if I put the
string into an @"" style string.
Terminal displays the string correctly if I do a 'more' on the data in
a file.
I have an idea that the string is correct UTF-8, but that the draw
methods don't want to draw them correctly.
Is there a step I am missing?
Thanks in advance,
Karl
_______________________________________________
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.