On 29/8/08 19:54, David Bovill wrote:
Guess this will have to do. Seems to work:

function text_Utf8ToHtml someUtf8, someField
    lock screen
    put the htmltext of someField into oHtml
    put uniencode(someUtf8, "UTF8") into someU16
    set the unicodetext of someField to someU16
    put the htmltext of someField into someHtml
    set the htmltext of someField to oHtml
    unlock screen
    delete char 1 to 3 of someHtml
    delete char -4 to -1 of someHtml
    return someHtml
end text_Utf8ToHtml

and see

http://quality.runrev.com/qacenter/show_bug.cgi?id=1372

- Ben


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to