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: Text interpretation/reading question



Hello again,

There was (at least) one error in what I wrote in my last message:

On Feb 24, 2007, at 5:31 PM, Nobumi Iyanaga wrote:



By the way, for iconv, you would do something like the following (from within your AppleScript code):

set my_str to ... -- your data in ISO 8859/5, for example
try
set res to do shell script "iconv -f ISO-8859-5 -t UTF-8" & quoted form of my_str
on error errMsg
display dialog errMsg
return
end try

The line "set res to do shell script "iconv -f ISO-8859-5 -t UTF-8" & quoted form of my_str" is not correct; you have to write:


set res to do shell script "iconv -f ISO-8859-5 -t UTF-8" & space & quoted form of my_str


Note that I didn't do any testing... Please use this with caution!!


Yes, please use this with caution!

Best regards,

Nobumi Iyanaga
Tokyo,
Japan




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

This email sent to email@hidden
References: 
 >Text interpretation/reading question (From: Andreas Kiel <email@hidden>)
 >Re: Text interpretation/reading question (From: Dean Shavit <email@hidden>)
 >Re: Text interpretation/reading question (From: Andreas Kiel <email@hidden>)
 >Re: Text interpretation/reading question (From: Christopher Nebel <email@hidden>)
 >Re: Text interpretation/reading question (From: Andreas Kiel <email@hidden>)
 >Re: Text interpretation/reading question (From: Christopher Nebel <email@hidden>)
 >Re: Text interpretation/reading question (From: Nobumi Iyanaga <email@hidden>)
 >Re: Text interpretation/reading question (From: Andreas Kiel <email@hidden>)
 >Re: Text interpretation/reading question (From: Nobumi Iyanaga <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.