pre-7.0.0 Unicode question

Richmond richmondmathewson at gmail.com
Mon Oct 27 14:30:36 EDT 2014


On 27/10/14 00:03, Kenji Kojima wrote:
> 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/

Thanks, but my message was titled "pre-7.0.0 Unicode question" so an 
answer that uses
post-7.0.0 unicode scripting is useless.

Richmond.

>
>> 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
>>
>>





More information about the use-livecode mailing list