/usr/bin/iconv No such file or directory

i am using the script that take annotated words from pdf and put them into rtf or omnioutliner file.

everything is good except that if i select german words with umlauts (ä, ö, ü) i get an error:


/usr/bin/iconv: Römisch: No such file or directory

where "Römisch" is one of selected words.

have i put this correct into the script:


-- Need to convert character sets in order to get the umlauts to transfer correctly. set theQuotationText to (do shell script "/usr/bin/iconv -f ISO8859-1 -t MACINTOSH " & theQuotationText)

or if i use

set theQuotationText to (do shell script "/bin/echo \"" & theQuotationText & "\" | /usr/bin/iconv -t MACINTOSH")


i get an error:

/usr/bin/iconv: (stdin):1:11: cannot convert
/usr/bin/iconv No such file or directory
 
 
Q