Search found 11 matches

by barnacleboy
Fri Mar 30, 2007 3:11 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

problem solved now. REALLY! :grin: i wrote an own function which converts the special chars to hex: QString convertUnicodeToHex( QString string ) { QString conversionReturn = QChar( 0x00AB ); conversionReturn += "data utxt"; for( int i = 0; i < string.length(); i++ ) { QChar singleChar = s...
by barnacleboy
Thu Mar 29, 2007 6:28 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

i would do, but i still have a problem - and i guess the situation is the same like before. for test reasons i tried this script bgannin posted. i copied a song title from itunes and pasted the text into the dialog so that i get the code string out of it. then i put the encoded string («data utxt......
by barnacleboy
Thu Mar 29, 2007 4:30 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

works! put typeChar instead of typeUTF8Text in compile function! thx! :grin:
by barnacleboy
Thu Mar 29, 2007 3:11 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

argh. now i've gotten these 2 symbols right and copy/paste from my console output into the script editor works fine. it isn't working when compiling/running the script from the program... here are the apple script handling functions: OSAID LowCompileAppleScript( const void* text, long textLength ) {...
by barnacleboy
Thu Mar 29, 2007 2:29 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

thanks this hint sounds very useful, BUT now i have another problem: the script isn't compiling - i guess it's because of "»". when looking in my console output i get different characters instead of "«" and "»"... " notify with name \"Track Notification\"...
by barnacleboy
Wed Mar 28, 2007 7:24 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

yeah it works perfectly if i copy and paste the text into the os x script editor...
by barnacleboy
Wed Mar 28, 2007 11:08 am
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

yeah, exactly. i don't think it's a growl issue. i think the problem is that my script simply doesn't get the special characters...
by barnacleboy
Wed Mar 28, 2007 2:20 am
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

i'm sending utf8...
by barnacleboy
Wed Mar 28, 2007 12:48 am
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

at the moment i'm converting the qstring into utf8 and compile & execute the script. i've tried to use only mac roman, but if i do so the script gets neither compiled nor executed...
by barnacleboy
Tue Mar 27, 2007 4:54 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

yeah, the qt framework from trolltech...
by barnacleboy
Tue Mar 27, 2007 1:39 pm
Forum: Growl
Topic: Japanese or cyrillic characters in Growl via AppleScript
Replies: 19
Views: 5749

Japanese or cyrillic characters in Growl via AppleScript

hi folks! i'm implementing growl notifications into a qt application (qt framework, not quicktime) at the moment, but the textencoding is worrying me. i know it's an apple script issue, but maybe someone here has already faced this problem. we are receiving track information data from itunes and dis...