Saving stack and Chinese

Friedrich F. Grohmann shedrup at ms9.hinet.net
Fri Aug 17 08:01:19 EDT 2007


On 17 Aug 2007, at 05:03, Mark Schonewille wrote:

>
>
> I have a stack with one field. The field contains 3 Chinese  
> characters. I put the characters into the field using
>
> set the unicodeText of fld 1 to <some chinese unicode>
>
> Each time when I save the stack, either by script or using the  
> menu, the 3 characters change into 4 characters which don't look  
> right. Sometimes, when I click in the message box and subsequently  
> in the stack, the same happens. This looks like a focus problem.  
> Did anyone observe similar behaviour?

I'm on a Mac with OS 10.4.10, Rev 2.8.1. Made a new stack with one  
text field (no specific settings) and then put Chinese via the  
message box using

set the unicodeText of fld 1 to "[Chinese unicode characters]"

Tried it with Chinese text of different length, including three  
characters. No problem here, except that the Chinese in the message  
box turns into garbage after I hit the return key.

If it's a small stack you might send it to me so that I can have a  
look at what "doesn't look right."

All the best,
Fritz



More information about the use-livecode mailing list