Thanks for all your explanations, Shane, Axel, Christopher. This makes me happy. You are great guys :) And thanks Emmanuel, even if I prefer using only AppleScript internal solutions, not externals osax.
Le 22 oct. 2014 à 08:42, Shane Stanley < email@hidden> a écrit : On 22 Oct 2014, at 5:03 pm, Christopher Stone < email@hidden> wrote:
I found a localization-sensitive method on one of the Alfred forums which should please Yvan.
I'm all for keeping Yvan happy, but isn't it a bit pointless in this situation? I mean, the real issue is getting the UTF-8 recognized. Axel used fr_FR, but he could have used any locale, as long as he chose UTF-8:
do shell script "export LANG=zh_CN.UTF-8; echo " & quoted form of "Bonjour « hello » world" & " | sed -E " & quoted form of "s/ [»]/_»/g"
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|