I have a current project running fine in 4.6.4 and now it breaks under 5.5 with the new unicode (it just works!) field changes. Now I'm not even sure now how to successfully display the text that is in Japanese in the field at all (apart from using the htmlText of the fld).
I have the following text in a field:
en English
jp 日本語
de Deutsch
Previously I could easily split this array and use the japanese text in another btn or field. But now it's really not clear to me how I should go about this. I have read the release notes about unicodeLabel, unicodeText etc etc but still it's not very clear. Or perhaps I'm trying to do too much in the same way as I previously did, rather than changing my approach.
What I'm trying to do is to take the contents of a field (contents above) and then grab item 2 of line 2 (i.e. the word "Japanese" in japanese) and display that in a field or button label.
Attempting using something like the following code:
Code: Select all
put the unicodeText of fld "LangCodes" into tTemp
set the itemDelimiter to tab
put unicode item 2 of line 2 of tTemp into fld "test"
Also, Is it possible to use the split command on a field containing Unicode text (ie. to store it in an array)? Or do we have to do it all manually?
Thanks for help, once again, on Unicode stuff...
cheers!