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 10:17:59 -0800
On Jan 15, 2007, at 10:12 AM, David Brennan wrote:
I have tried using NSMacOSRomanStringEncoding, but with some string I
find it returns nil, but if I use NSUTF8StringEncoding on the same
string. I get the string with the wrong encoding. The euro symbol "€"
becomes something else.
I have no idea what I'm doing wrong with NSMacOSRomanStringEncoding.
Every string can be represented in UTF-8, but not every string can be
represented in Mac Roman. Mac Roman is a legacy encoding with a
limited repertoire. We might be able to give more help if we knew
why it is that you want to use Mac Roman.
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