Oh, no, not at all. You can type in Japanese. Well, I’m pretty sure. My daughter does it all the time in other applications. She types in romaji (western letters). I think that gets combined to katakana (phonetic) and then she can choose one of may choices of Kanji (Chinese looking). Something like that.
I don’t have a Japanese keyboard enabled on my computer, so I didn’t bother. The reason for the script was to illustrate that the Katakana DO can be written as to basic symbols, the TO plus a voicing mark. Notice the sounds are similar; one is unvoiced and one is voiced. The TO and the voicing mark are two code points in LiveCode, but one character in LiveCode. I wanted to make sure I got exactly those code points, so I could show that a string with two code points can contain one character. Notice that in Unicode the combining mark comes after the character it combines with. Now, I can type in Japanese in a crude way because I usually use the U+ keyboard on OS X. I hold down option and type in the hex code. So… ト ド That would not be the way for someone entering Japanese text to do it. But, for a Unicode learner like me, it works. Dar On Apr 18, 2014, at 4:27 PM, Alejandro Tejada <[email protected]> wrote: > Dar Scott wrote >> [snip] >> put numToCodepoint( 0x30C8 ) into kto >> put numToCodepoint( 0x30C9 ) into kdo >> put numToCodepoint( 0x3099 ) into kVoiceMark >> put numToCodepoint( 0xFF9E ) into kHalfVoiceMark >> put kto & kVoiceMark into kdoAlt1 >> put length(kdoAlt1) into kdoAlt1N >> put kto & kHalfVoiceMark into kdoAlt2 >> put length(kdoAlt2) into kdoAlt2N >> put kto & tab & kdo & tab & kdoAlt1 & tab & kdoAlt1N & tab & kdoAlt2 & >> tab & kdoAlt2N >> [snip] > > Does this means that the only way to write Japanese > in a field is using a script (or pasting the characters > from the clipboard)? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/LiveCode-7-codepoint-question-tp4678428p4678438.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
