Re: UTF8 to MacRoman using TECConvertText
Re: UTF8 to MacRoman using TECConvertText
- Subject: Re: UTF8 to MacRoman using TECConvertText
- From: Douglas Davidson <email@hidden>
- Date: Mon, 15 Jan 2007 09:46:41 -0800
On Jan 15, 2007, at 9:40 AM, David Brennan wrote:
I am trying to convert UTF8 to MacRoman. I am using [NSString
UTF8String], to get a UTF8 encoding of the string, then I am trying to
convert the string to MacRoman using TECConvertText, but it's not
working for me.
If you have an NSString to start with, why not use
cStringUsingEncoding: or dataUsingEncoding: with
NSMacOSRomanStringEncoding to get MacRoman directly?
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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