Automator bug in "run shell script" ?
Automator bug in "run shell script" ?
- Subject: Automator bug in "run shell script" ?
- From: Jean-Christophe Helary <email@hidden>
- Date: Tue, 14 Jun 2011 23:30:45 +0900
I've noticed the following behavior with the "run shell script" action:
1) create a service with "run shell script"
2) set it to "receive no input" and to "replace selected text"
3) put this in the body:
echo "Gesprächen"
where ä is LATIN SMALL LETTER A WITH DIAERESIS' (U+00E4)
http://www.fileformat.info/info/unicode/char/e4/index.htm
(input with Alt+u followed by a in the US international keyboard layout)
When I run that, the "ä" character is split into its components: "a" and "¨". What is displayed is a compound character that looks like "ä" but not not behave like "ä".
It is U+0061 and U+0308 [ a ̈ ].
But when I run the exact same command directly from Terminal, the output "ä" is a normal U+00E4.
I get that with all accented Latin characters (including ç) but also with Japanese characters that contain a voicing mark like "が" where instead of getting a U+304C, Automator will produce a U+304B followed by a U+3099 [か ゙].
That bug practically means that no international text processing is possible with the "run shell script" action of Automator.
Can somebody confirm the bug so that I can file a report at Apple ?
Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden