pre-7.0.0 Unicode question

Kenji Kojima index at kenjikojima.com
Sun Oct 26 18:03:24 EDT 2014


Richmond,

I don’t know the character “7637”.
But i thought you wanted to write like this.

on mouseUp
   if char 2 of fld 1 is numToCodepoint(12356) then
      put numToCodepoint(12354) into char 2 of fld 1
   end if
end mouseUp

the script changes “あいうえお” to “ああうえい”.

--
Kenji Kojima / 小島健治
http://www.kenjikojima.com/

> On Oct 26, 2014, at 3:45 PM, Richmond <richmondmathewson at gmail.com> wrote:
> 
> I wonder why this doesn't work:
> 
> on mouseUp
>   set the useUnicode to true
>   if char 2 of fld "ff" is numToChar(7637) then
>      set the unicodeText of char 2 of fld "ff" to numToChar(100)
>   end if
> end mouseUp
> 
> -------------------------------
> 
> AND, while I'm here:
> 
> why, when I copy from the scriptEditor do I have to paste it into LibreOffice,
> and then recopy it to paste it into Thunderbird because it won't copy-paste
> directly into my e-mail client (Thunderbird)?
> 
> Richmond.
> _______________________________________________
> 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