a little unicode help
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Oct 30 11:57:11 EDT 2012
Chris,
Post your script to show the encoding. You should encode Russian and English text in exactly the same way. If it works for Russian, then it works for English.
If it only disaplays the first character, then there is probable a NULL character somewhere, which indicates double-byte encoding, while your scripts treats it as single-byte encoding. Just a hunch.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
On 30 okt 2012, at 16:51, Chris Sheffield wrote:
> Thanks for the quick reply, Mark.
>
> I've tried treating all text as unicode, but the characters from the English keyboard still don't work right. But maybe my problem is in the conversion. So I'm retrieving the unicodeText property of the native text field. Then I'm using the unicodeText property of a LiveCode field to display the entered text. And in that field, I either have garbled text, or it just gets chopped off, only displaying maybe the first character. There is something goofy, but I think it's probably just my lack of knowledge of how this should work.
>
> Chris
More information about the use-livecode
mailing list