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: Arrays and UTF-8



On Jun 6, 2006, at 5:42 PM, Sander Tekelenburg wrote:

Any way to retrieve values in array fashion?

Depending on what you mean, that might be dependant upon the app you're

gettng the data from. That said, some apps allow this sort of construct:

set {value1, value2, value3} to {property1, property2, property3} of

<reference>


Thanks Sander,
What I need is to get data from a tabulated text file or spreadsheet.



How to write UTF-8 text files ?
write aString to <file reference> as «class utf8»
Make sure you have a reason to write as utf-8. If your only reason is
"Unicode", than there's no need to specify the class, as the default is
utf-16.

Yes, it must be XML UTF-8. The result is a Final Cut Pro Document:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmeml>
<xmeml version="2">
...

For now, I'm creating a text file and saving UTF-8 with Text Edit manually.

I was wondering if is there some documentation or guidance out there about those issues so I could do my homework instead of keep questioning you guys. I'm really a novice in programming. Any reccomendations?

Thanks again!
JFNeto

 _______________________________________________
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

This email sent to email@hidden

References: 
 >Arrays and UTF-8 (From: JF Neto <email@hidden>)
 >Re: Arrays and UTF-8 (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.