Unicode Problem
Takashi Yoshino
yoshino at sys.wakayama-u.ac.jp
Sun Apr 8 21:15:55 EDT 2012
Hi,
I found that the unicode function on LC 5.0.2 DOES works,
But, the unicode function on LC.5.5.1 DOES NOT work.
Here is a simple sample using Unicode.
On LC 5.0.2 does works well, but LC 5.5.1 does not work.
on mouseUp
set the unicodeText of fld "result" to fld "temp"
end mouseUp
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._
Takashi Yoshino
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441
On 2012/04/06, at 18:38, Takashi Yoshino wrote:
> Hi, expert!
>
> I am very glad to add some functions of unicode in LC 5.5.
>
> I use them, and I have some problems about the functions.
>
> If you use the unicode functions, please give me some information.
>
> 1. put unicode function
>
> Here is my script.
>
> on mouseUp
> put fld "Q1" into theUniData
> put unicode "ใในใ" into fld "A1"
> end mouseUp
>
> I am sorry, I used Japanese character in the script.
> In LC 5.5, I can use Japanese text in the script ! It is great!
>
> But, the result of the script is bat.
> Wrong character appeared in the field.
>
>
> 2. set the unicode text
>
> Here is my script.
>
> on mouseUp
>
> put "A1.txt" into theFileName
> put AbsolutePathFromStack(theFileName) into theFullPath
>
> open file theFullPath
> read from file theFullPath until EOF
> set the unicodeText of fld "A1" to it
> close file theFullPath
>
> end mouseUp
>
> I want read some Japanese from a file.
>
> LC can read text and put them into the field.
> Almost is OK.
>
> But there is not line feed in the text.
>
>
>
> If you use unicode function, please give me some information.
>
>
>
>
> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._
> Takashi Yoshino
> http://www.wakayama-u.ac.jp/~yoshino/lab/
> Tel: +81-73-457-8441
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list