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: Alert attached to window "main" problem x special characters...



Hello Bernardo,

I think this is a text encoding problem. Perhaps you may generate your accented string explicitly in UTF-8, using perl. That would be something like this:

set perl_script to "binmode(STDOUT, \":utf8\"); print \"As altera\\x{00E7}\\x{00F5}es so ter\\x{00E3}o efeito depois que voce abrir este programa de novo!\";"
set messageText to do shell script "perl -e '" & perl_script & "'"
display alert "Alerta" as critical message messageText attached to window "main"


This is not tested.  Please try it 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: 
 >Alert attached to window "main" problem x special characters... (From: Bernardo Hoehl <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.