international characters in revolution studio?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
international characters in revolution studio?
i tried to search the forum, but haven't found good anwser. my prob is that i can't use international characters in revolution studio (polish one), even after setting the text field font to CE. the key combination i normally use in windows to type polish specific characters, crtl+alt+character or right alt+character simply don't work within revolution studio. maybe i miss something?
i can't belive nobody uses revolution products without using their own national characters like german, french, etc. does nobody have this problem with typing in these characters into revolution studio fields? the only thing that crossed my mind to solve it is to manualy transform characters using script when some special key is also pressed, but how to detect that for example ALT key is pressed (ALT+character). coz i don't have probs pasting in polish characters or putting them with numeric keypad (ALT+keycode trick). just i can't find a way to type in polish characters like i always do in any windows aplication (right alt + charater or left crtl + left alt + character). maybe revolution blocks this combinations some reason?
Hi Rezmus,
A script like
set the textFont to CE
won't work, but you probably noticed that already. What have you tried so far to make this work, with regard to both your operating system and Revolution itself?
Best,
Mark
A script like
set the textFont to CE
won't work, but you probably noticed that already. What have you tried so far to make this work, with regard to both your operating system and Revolution itself?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
tx for replay mark,
i tried to make it work on several windows machines without results, the key combination that i usualy use for typing polish diacritical and umlaut characters simply doesn't work in rev studio. the only solution that crossed my mind is to manualy change charcters when typing under some special conditions (like alt pressed) but don't know how to do it. when i use numtochar(xxxx) after setting unicode to true i can get polish character (xxxx is unicode number of character).
i tried to make it work on several windows machines without results, the key combination that i usualy use for typing polish diacritical and umlaut characters simply doesn't work in rev studio. the only solution that crossed my mind is to manualy change charcters when typing under some special conditions (like alt pressed) but don't know how to do it. when i use numtochar(xxxx) after setting unicode to true i can get polish character (xxxx is unicode number of character).
Hi Rezmus,
It is not clear whether all settings are correct. Have you tried to make sure that the Polish keyboard/input method is selected when you enter text in a Rev field? If so, is there anything else that you have already tried? If not, could you try now and tell me the result?
Best,
Mark
It is not clear whether all settings are correct. Have you tried to make sure that the Polish keyboard/input method is selected when you enter text in a Rev field? If so, is there anything else that you have already tried? If not, could you try now and tell me the result?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
tx for the tip mark!
following what u said i've turned language bar on and saw that when i start revolution language and keyboard is switched from PL to EN... i've set some key combination to switch between them, and now i can turn PL on after revolution is running. one key combination that we use to type polish character doesn't work, but 2nd works (right alt+character). now, is there a way to do it automaticly when rev program starts? some script to switch language within revolution?
following what u said i've turned language bar on and saw that when i start revolution language and keyboard is switched from PL to EN... i've set some key combination to switch between them, and now i can turn PL on after revolution is running. one key combination that we use to type polish character doesn't work, but 2nd works (right alt+character). now, is there a way to do it automaticly when rev program starts? some script to switch language within revolution?
yep mark, i definitly need the way to switch this language within rev studio, coz i have to use this 'switch EN -> PL' key combination on every field. when i leave that field language back to EN, so i need to switch on every visit... which makes it useless. so need to find a way to do it by rev itself 

-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
By default, Revolution assumes you're writing text in English. You could try setting the font and language of each field to something like Arial and 'pl'.
Hope this helped,
Jan Schenkel.
Code: Select all
set the textFont of field 1 to "Arial,pl"
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
tx for the tip jan, already triend that but doesn't work. font changes, but language remains EN.
finaly it works
tx guys 
channed it to set font ",Polish" and now works
now i just need to handle mysql database charset conversion... coz when i set textfont property to ,Polish i get garbage from mysql database even on english and numeric characters... do i have to make some special conversion before it works? without ,Polish in textfont property data is displayed ok. any solution?
finaly it works


channed it to set font ",Polish" and now works

now i just need to handle mysql database charset conversion... coz when i set textfont property to ,Polish i get garbage from mysql database even on english and numeric characters... do i have to make some special conversion before it works? without ,Polish in textfont property data is displayed ok. any solution?