Skid,
Consider the following program:
A simple little program, to copy text from one text area to another.
Now, find some unicode text on the web somewhere , copy the text and paste it into the first text area.
Somewhere along the line, it's unicodeness is getting lost, either within the TextAreaText function or the SetGadgetText function.
Any ideas?
Thanks,
Neil
Consider the following program:
Strict Local win:TGadget=CreateWindow("Unicode Test",200,200,300,230) Local editBox1:TGadget=CreateTextArea(5,5,290,95,win) Local editBox2:TGadget=CreateTextArea(5,105,290,95,win) Local finished:Int=False Local tmp:String Repeat WaitEvent Select EventID() Case EVENT_WINDOWCLOSE finished=True Case EVENT_GADGETACTION Select EventSource() Case editBox1 SetGadgetText editBox2,TextAreaText(editBox1) End Select End Select Until finished
A simple little program, to copy text from one text area to another.
Now, find some unicode text on the web somewhere , copy the text and paste it into the first text area.
Somewhere along the line, it's unicodeness is getting lost, either within the TextAreaText function or the SetGadgetText function.
Any ideas?
Thanks,
Neil