• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bad Characters from Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Bad Characters from Unicode
      • From: Philip Aker <email@hidden>
References: 
 >Re: Bad Characters from Unicode (From: has <email@hidden>)
 >Re: [OT] Bad Characters from Unicode (From: "Mark J. Reed" <email@hidden>)
 >Re: Bad Characters from Unicode (From: Sander Tekelenburg <email@hidden>)
 >Re: Bad Characters from Unicode (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: confirm 150c287c562f9259a2b442c24205bea8e8b1b1c9
  • Next by Date: Re: [OT] Bad Characters from Unicode
  • Previous by thread: Re: Bad Characters from Unicode
  • Next by thread: Re: Bad Characters from Unicode
  • Index(es):
    • Date
    • Thread