Windows 7: Chinese characters replacing quotes & apostrophes in English text

J. Landman Gay jacque at hyperactivesw.com
Sun Feb 9 17:20:26 EST 2014


On 2/8/14, 10:51 PM, FORD JR., CURT wrote:
> A module which has been problem-free on most computers is showing odd
> behavior on one client's computer: Chinese characters appear
> replacing an apostrophe + s, or a contraction with an apostrophe, in
> the English text, and also where there are opening & closing quotes.
> m-dashes also aren't displaying properly.
>
> The text was pasted into Livecode from an rtf document and is
> displayed in the Charis SIL font, which our installer installs (other
> parts of the text make clear the font is installing normally). It's
> not editable or even selectable, and the module doesn't involve any
> htmltext or unicodetext routines.
>
> One thing different on this system may be that the user is running
> Windows 7 Ultimate English version, with Chinese language support.
>
> Any ideas on what's happening, or how to fix it?

I'm not sure it will work in this case, but you can try running the text 
through this:

function utf8decode pString -- convert utf8 to LC native
   return unidecode(uniencode(pString,"UTF8"))
end utf8decode

You'd probably need to do that after converting the rtf text to LiveCode 
native text.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list