Page 1 of 1
I can not type any Chinese in Script Editor !
Posted: Fri Jan 17, 2014 9:28 pm
by jasonshow
all the chinese words in editor, will become ??? when open it next time.
I'v set the chinese font for editor,but still not work.
how can I fix it,thanks a lot.
Re: I can not type any Chinese in Script Editor !
Posted: Fri Jan 17, 2014 11:13 pm
by makeshyft
Unicode characters don't work in the script editor. You need to create some workarounds using unicode encode and decode functions. Sorry bro....
http://newsletters.livecode.com/august/ ... etter4.php
Re: I can not type any Chinese in Script Editor !
Posted: Fri Jan 17, 2014 11:24 pm
by makeshyft
Version 7 will have full Unicode support built in! (thats in the roadmap at least)
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 4:49 am
by jasonshow
when will we get ver. 7 ?
I'm running a new project,I need to know I can use livecode.
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 7:20 am
by Simon
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 8:09 am
by jasonshow
thanks,Simon !
but I need 100% unicode support,just like you key english.
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 8:51 am
by Simon
Hi jasonshow,
just as a check, could you post a line of code showing how you'd use Chinese? Want to make sure I understand your request.
Simon
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 9:34 am
by jasonshow
hi simon,
you can try just key any Asian words in Script Editor,then save,clsose project,re-open it,the words become ????.
just simple like this.
answer "你好!"
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 10:17 am
by Simon
Actually there is a simple workaround.
I think step 6/7 in the lesson shows an easy way.
"answer the htmlText of line 3 of fld 1"
would work if you loaded field 1 with all the text you would need.
But that is a workaround, you can wait till ver 7.
Simon
Re: I can not type any Chinese in Script Editor !
Posted: Sat Jan 18, 2014 1:39 pm
by Klaus
...But that is a workaround, you can wait till ver 7.
Hm, that will surely take some months before we actually can use that version!

Re: I can not type any Chinese in Script Editor !
Posted: Fri Mar 21, 2014 9:05 am
by jasonshow
any new solution about this ?
thanks.
Re: I can not type any Chinese in Script Editor !
Posted: Fri Mar 21, 2014 9:43 am
by bn
Hi Jason,
see
http://forums.runrev.com/phpBB2/viewtop ... =4&t=19658
this is the very early Developer version of Livecode 7.0, use with all precautions of using prerelease software. But that is where you can test full unicode.
I just tried
Code: Select all
on mouseUp
put "你好!" into tTemp
put tTemp into field 1
end mouseUp
and it worked. Since I don't know anything about non-latin languages I can't test further. But the text showed up after closing the editor and reopening it.
I also tried
Code: Select all
on mouseUp
你
end mouseUp
on 你
put "the command worked" into field 1
end 你
it also worked
Kind regards
Bernd