Code: Select all
<some_tag>’</some_tag>
Code: Select all
set useUnicode to true
-- strip all the html tags from the description
put it into tDesc
-- fix all the unicode characters
repeat while matchText(tDesc, "&#x([0-9A-Fa-f]+);", tUninum)
put baseConvert(tUninum, 16, 10) into tUnihex
put numToChar(tUnihex) into tUnichar
replace "&#x" & tUninum & ";" with tUnichar in tDesc
end repeat
put tDesc into field "Test"
Of course, what would be ideal is if revXml just properly handled the translation itself (maybe it does and I'm doing something wrong?).
Any thoughts?
Jeff M.