converting from Big 5 and GuoBiao encodings
converting from Big 5 and GuoBiao encodings
- Subject: converting from Big 5 and GuoBiao encodings
- From: Daniel Child <email@hidden>
- Date: Thu, 10 Jan 2008 22:22:28 -0500
Hi,
I am trying to build a generic parser for various files I expect to
encounter. To get the file in the form of a string, I was going to use:
NSString *fileAsString = [[NSString alloc] initWithContentsOfFile:
sourcePath
encoding: NSUTF8StringEncoding
error: &error];
That works assuming the encoidng is UTF8. But what if it is Big 5 or
GuoBiao? I couldn't find an equivalent encoding in
the documentation.
Thanks.
Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden