bignum unicode entities in htmlText?
Richmond Mathewson
richmondmathewson at gmail.com
Fri Jun 12 17:03:41 EDT 2009
I stripped the leading ampersand, the hash (#) and the trailing
semicolon from 黝
like this:
set the useUnicode to true
set the unicodeText of fld "euro" to (NumToChar(40669))
and got a Chinese character (mind you, as I know no Chinese, it might be the
wrong one).
I suppose you will have to have a script that removes the characters
mentioned at
the top before the text is displayed.
viktoras d. wrote:
> sorry if I missed a possible hint in any of the previous threads on
> unicode. I am having trouble making Revolution correctly display
> bignum unicode entities like unicode characters of Mandarin Chinese.
> In mysql database all the unicode strings are encoded with leading
> ampersand and trailing semicolon like this:
> 西方黃黝魚 These get correctly rendered
> in any web browser, but Revolution fails to display them correctly in
> a field (I am seting htmltext of field).
>
> Is there any way to fix this?
>
> Best wishes
> Viktoras
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list