Adium

Profile: GoldenDragon (GoldenDragon)

Mail
MSN
Comment Count 2 comments
0 xtras

Latest comments

# by GoldenDragon on 10/05/08 at 14:33:14

In the file this snippet is escaped correctly

# by GoldenDragon on 10/05/08 at 14:31:52

Mm...I have a similar script, except it reverses the whole text, not only the words. I'm just wondering, why it won't return anything if I pass a string that has some non-ascii characters in it, like ä, ö. It works fine if the string contains only ascii characters. Snip: return do shell script "python -c "print unicode('''" & theText & "''', 'utf-8')[::-1]""
Oh, and on the Terminal, it works just fine with any characters.
/reverse{ASCII-compatible string} -> works
/reverse{Some non-ASCII compatible text, äöäåÄ} -> does not work