I am trying Runtime Revolution and found one problem with encoding. When I am wrote a text in Baltic encoding (with special alphabet characters) in Properties Inspector for stack then the text in Title Bar appears incorrect (wrong encoding for special characters).
But text in Dialog Box (in buttons, in tab panel and other) appears correct.
With German encoding text in all fields appears correct, with Cyrillic encoding the text in all fields appears incorrect.
It is a bug or incompatibility with encoding? If it is a incompatibility then other languages support (like Baltics or Cyrillics encoding) would be nice feature for the next release of Revolution.
P.S. I also tried RealBasic and found that there are no problem - text in all fields appears correct (including text in Baltics or Cyrillics encoding)
encoding problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi digiforin,
You're right, RealBasic's text engine is better than Revolution's. To use "non-western" text in Revolution, you need a few tricks. For example, create a field and write a title for your stack in Estonian. Give your field the name "Title". In the message box, type the following:
set the unicodeTitle of this stack to the unicodeText of fld "Title"
The titlebar should now display the correct text. You can do this for any language.
The text in e.g. a dialog appears correctly, probably because it uses HTML. Also, the titlebar is quite a special case, because Revolution needs to interact with the operating system to get it right.
As long as you only want to display existing unicode text in Revolution, you should be fine. If you want to manipulate unicode text, you may get a really long way, but eventually you'll get stuck, because if Revolution's limitations in this regard.
Best,
Mark
You're right, RealBasic's text engine is better than Revolution's. To use "non-western" text in Revolution, you need a few tricks. For example, create a field and write a title for your stack in Estonian. Give your field the name "Title". In the message box, type the following:
set the unicodeTitle of this stack to the unicodeText of fld "Title"
The titlebar should now display the correct text. You can do this for any language.
The text in e.g. a dialog appears correctly, probably because it uses HTML. Also, the titlebar is quite a special case, because Revolution needs to interact with the operating system to get it right.
As long as you only want to display existing unicode text in Revolution, you should be fine. If you want to manipulate unicode text, you may get a really long way, but eventually you'll get stuck, because if Revolution's limitations in this regard.
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