Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing to file as UTF8 with BOM ?




Le 30 oct. 06 à 10:58, Sander Tekelenburg a écrit :

i'de like to go further working with UTF-16 to enable working with asian

"character" set (I'm an anciant chinese reader).


Others have explained this in more detail, but IMO left out the essential

clue: character *repertoire* and character *encoding* are different things.

(In this case, Unicode is a repertoire. utf-8, utf-16, etc. are encodings.)


yes i agree with that except their are repertoire wider than other isn't it ?

i thought utf-16, using more bytes than utf-8 in your analogy, is a wider repertoire than utf-8 ?


ps, is applescript utf-16-able ???


Yes. In fact, under Mac OS X (I don't know if this is since 10.0 or later)

AppleScrpt reads and writes UTF-16 by default. (Well, at least when you work

with class Unicode text. Maybe not for class string? -- I'd have to check.)



as the file system, i mean.

Yvon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Writing to file as UTF8 with BOM ? (From: Richard Rönnbäck <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: "Mark J. Reed" <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: "Mark J. Reed" <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: "Mark J. Reed" <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Emmanuel <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Sander Tekelenburg <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Yvon Thoraval <email@hidden>)
 >Re: Writing to file as UTF8 with BOM ? (From: Sander Tekelenburg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.