Re: converting text input in any encoding to unicode
Re: converting text input in any encoding to unicode
- Subject: Re: converting text input in any encoding to unicode
- From: Ben Dougall <email@hidden>
- Date: Mon, 28 Apr 2003 23:17:09 +0100
On Monday, April 28, 2003, at 06:05 pm, Douglas Davidson wrote:
On Monday, April 28, 2003, at 6:52 AM, Ben Dougall wrote:
i think i need to look at the textedit app example that's in devtools
- see how that deals with finding out, or not finding out as the case
may be, which encoding it's opening.
The general procedure used by Cocoa is to look for a BOM of one
variety or another,
are there further, different types of boms - other than the ones
specified in unicode? or does the unicode specification cover all the
boms that should be known about regarding text?
i'm unable to find the bom checking part in the textedit code, but i
haven't looked thoroughly yet. found the bit that deals with the file
extension like .html or .rtf.
thanks.
_______________________________________________
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.