fphilipe
Joined: 18 Aug 2005 Posts: 22
|
| Posted: Sun Nov 12, 2006 - 5:12 am Post subject: osascript character encoding issue |
|
|
I have a HTML file and a JS both encoded in UTF-8. The JS loads a XML file witch is UTF-8, too.
Then I use widget.system to make a Growl notification. The problem is that special characters like äöü etc. get messed up.
The code I use to make the Growl call is:
| Code: | | /usr/bin/osascript -e "tell application \"GrowlHelperApp\" to notify with name \"xxx\" title \"xxx\" description \"äöü\" application name \"xxx\" image from location \"file:///Users/xxx/Library/Widgets/xxx.wdgt/Icon.png\"" |
If I open up TextMate and create a new AppleScript and run it directly in TextMate it doesn't get messed up and displayed as intended.
Has anyone had similiar problems or knows a solution?
I'm pretty sure it has something to do with character encoding. |
|