Page 1 of 1

international characters in revolution studio?

Posted: Mon Apr 07, 2008 8:36 am
by rezmus
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?

Posted: Thu Apr 10, 2008 7:50 am
by rezmus
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?

Posted: Thu Apr 10, 2008 9:37 am
by Mark
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

Posted: Sat Apr 12, 2008 11:05 am
by rezmus
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).

Posted: Sat Apr 12, 2008 11:18 am
by Mark
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

Posted: Sun Apr 13, 2008 3:44 pm
by rezmus
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?

Posted: Mon Apr 14, 2008 12:13 pm
by rezmus
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 ;)

Posted: Mon Apr 14, 2008 5:20 pm
by Janschenkel
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'.

Code: Select all

set the textFont of field 1 to "Arial,pl"
Hope this helped,

Jan Schenkel.

Posted: Tue Apr 15, 2008 9:12 am
by rezmus
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?