revolution at derbrill.de
Sun Jun 6 05:03:52 EDT 2010
Just for the archives in case anyone else stumbles upon the same problem.
The issue is a matter of display. The output field requires mixed font settings. If you set the textfont to a polish variant, it sort of works, howwever you end up with some japanese characters for certain character combinations (e.g. éá). So you somehow need to mix the fonts. A brute force method can be this (assuming you know the output is in an east european language):
if numToChar(0) is in field "output" or numToChar(1) is in field "output" then
repeat with i=1 to the number of chars of fld "output"
-- CZ special chars are UNICODE. 2 bytes. Second Byte appears to be either 0 or 1 in charToNum
if charTonum(char i+1 of fld "output")<10 and i+1 < the number of chars of fld "output" then
put true into tArray[i]
repeat for each key theKey in tArray
set the textfont of char theKey to theKey +1 of fld "output" to ",po"
Not necessariely pretty, nor really optimal, however, the only solution I found until now.
All the best,
More information about the Use-livecode