I've made a stack that illustrates the Unicode problem I've encountered. Anyone interested in helping us find a solution, can access it by typing the following inside Revolution's 'messageBox' - while you are connected to the internet:
open stack URL "http://www.pixelmedia.com.au/Unicode_Problem.rev"
The stack was made under MacOS X - I don't know how the unicode characters will appear or how the scripts will behave under other platforms. All feedback appreciated!!!
I like your way of illustrating the problem.
The following is a slight variation on your 4th button. It seems to work here, but please confirm.
put the unicodeText of field "targetFld" into newText put the unicodeText of field "sourceFld" into newLine2 put newLine2 into line 2 of newText put numToChar(0) after line 2 of newText set the unicodeText of field "targetFld" to newText
It takes account of the extra numtoChar(0) before the return in uniencoded text (which gets written over when you put something into line x).
Like many others, I'm having trouble getting my head round the new unicode features. But I get the impression it's not a good idea to directly manipulate the text of the field itself. (I know it didn't contain what I expected when I first started playing around.) First get the unicodeText, play with that, and then set the unicodeText again. But I guess we have to be careful with chunk expressions.
Cheers Dave _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
