Page 1 of 1
Chinese Character in Fields, Buttons
Posted: Sat Apr 20, 2013 3:35 pm
by cyang126
This question may have been asked before, but I can't find any answer.
How do I place Chinese character into a Field or Button?
i.e. put "歡迎" into field "Field"
But as soon as I clicked Apply, then it turn into
put "??" into field "Field", so is the Button Name turned into "??"
Also, How do I make a unicode ready app?
Re: Chinese Character in Fields, Buttons
Posted: Sun Apr 21, 2013 12:40 am
by Simon
Here is the post:
http://forums.runrev.com/phpBB2/viewtop ... icodeLabel
it requires that you use a second field to input the Chinese characters but then you can set the working fields and labels.
Simon
Re: Chinese Character in Fields, Buttons
Posted: Sun Apr 21, 2013 8:46 am
by snm
Or you can read from any UTF8 coded file or database. Then use uniEncode.
Marek
Re: Chinese Character in Fields, Buttons
Posted: Sun Apr 21, 2013 5:50 pm
by cyang126
Why can't livecode allow us to put unicode characters in the string directly?
i.e. put "歡迎" into Field "Field" is more straight forward, easier to modify.
I was going to use livecode to develop an unicode app, but looking over the solutions, I have a second thought on using livecode to develop this application. RealStudio or Visual Studio would be better fit to develop the app.
I was really excited about livecode, but not allowing me to insert unicode into field or button directly is not very appealing for me. I hope livecode can consider there is a mass of developers developing applications other then English based.
Unless livecode is focus on Mobile app? I can see the value in develop iOS and Android, but again unicode capability is very important for non English speaking developers.
Re: Chinese Character in Fields, Buttons
Posted: Sun Apr 21, 2013 7:42 pm
by jacque
Some of the info here is outdated. You can now do this:
set the unicodetext of fld 1 to <unicodestring>
You can also set only a chunk of the field, for example, char 1 to 10 of fld 1. See "unicodetext" in the dictionary.