Re: Bad Characters from Unicode
Re: Bad Characters from Unicode
- Subject: Re: Bad Characters from Unicode
- From: Sander Tekelenburg <email@hidden>
- Date: Fri, 5 Oct 2007 04:03:42 +0200
At 18:46 -0600 UTC, on 2007-10-04, Doug McNutt wrote:
> At 02:13 +0200 10/5/07, Sander Tekelenburg wrote:
[...]
>>Returning to AppleScript: when you write text to a file, you could save it as
>>filename.utf-16.txt (utf-16 being the default since Mac OS X). Or when you
>>explicitly use some other character encoding, call it filename.utf-8.txt, or
>>filename.mac-roman.txt. If you do that consistently you'll have an easier
>>time working with those files later.
>
> [...] why not
>
> 1) STOP using .txt, .TXT, .TEXT and similar for ANY unicode files. [...]
>
> 2) Create some standards like:
>
> .U08 for UTF-8 format
Maybe I misunderstand, but just "filename.U08" wouldn't tell you whether it's
a text file, a HTML file, a CSS file, a PHP, perl, sql file, etc.
> .U16 for UTF-16 format with net-standard (big endian) byte order
>
> .U61 for UTF-16 with dyslexic ordering
{grin}
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden