Glyph's
Glyph's
- Subject: Glyph's
- From: Mathew Peterson <email@hidden>
- Date: Sun, 27 Apr 2003 20:03:48 +1000
I have an old file (I assume encoded in NSMacOSRomanStringEncoding)
that I need to decode into something I can use in Cocoa (particularly a
string).
Now I have this code:
[stringOut setStringValue:[[[NSString alloc] autorelease]
initWith
Data:[[NSString stringWithFormat:@"ElE4E0Gh"]
dataUsingEncoding:NSMacOSRomanStringEncoding]
encoding:NSUnicodeStringEncoding]];
Which is a fragment of Glyph which spells out some Japanese characters.
I know the file is NSMacOSRomanStringEncoding because when I set my
string value with encoding NSUTF8StringEncoding it produces my glyph's.
I cannot for the life of me though get those Japanese characters to
display in their proper Unicode format. Btw, that glyph is KoNiChiWa
encoded.
Can anyone assist me?
Mat
_______________________________________________
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.