Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

Post new topic   Reply to topic Posted in: Widget Development

osascript character encoding issue

Author Message
fphilipe



Joined: 18 Aug 2005
Posts: 22

Posted: Sun Nov 12, 2006 - 5:12 am    Post subject: osascript character encoding issue Reply with quote

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.
View user's profile Send private message Send e-mail Visit poster's website MSN MessengerWidgets
Post new topic   Reply to topic

 
Powered by phpBB © 2001, 2002 phpBB Group