Re: BOM and UTF-8 (was Re: Question about line breaks and file types)
Re: BOM and UTF-8 (was Re: Question about line breaks and file types)
- Subject: Re: BOM and UTF-8 (was Re: Question about line breaks and file types)
- From: "John H. Jenkins" <email@hidden>
- Date: Tue, 5 Aug 2003 17:22:20 +0000 (UTC)
- Newsgroups: apple.lists.cocoa-dev
- Organization: Apple Computer, Inc.
- Xref: forum.apple.com apple.lists.cocoa-dev:49374
In <email@hidden> Dustin Voss
wrote:
>
This was all about NSString, of course, but you originally asked about
>
TextEdit. I agree that TextEdit should include the BOM in UTF-8.
>
What's the harm? If the file uses Unicode later, this will make it
>
obvious up front, and if the file does not use Unicode, it should be
>
ASCII-encoded anyway. I will enter a request for that as well.
>
The consensus of Unicoded experts is that this is a really, really bad
idea. Higher-level mechanisms should be used to distinguish UTF-8 text
from non-UTF-8 text.
_______________________________________________
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.