lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Non-ASCII characters in wx html help


From: Greg Chicares
Subject: Re: [lmi] Non-ASCII characters in wx html help
Date: Wed, 12 Mar 2014 23:06:50 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 2008-03-13 14:18Z, Vaclav Slavik wrote:
> 
> Greg Chicares wrote:
>> Is there any easy way to get html help to support more non-ASCII
>> characters? I'm particularly interested in
>>   …
>>   — –
>>   ‘ ’
>>   “ ”
>> because they make text look more professional.
[...]>
> The fix is as simple as changing the charset to "windows-1252" (this 
> will work in wxGTK too). Using an UTF-8 encoding wouldn't help, 
> wxHTML wouldn't be able to determine encoding to use for the fonts 
> (it can't be UTF-8 on Windows) from Content-Type and would fall back 
> to Latin1. (In wx3, you will be able to use Unicode build without 
> changes to LMI code, so the problem will disappear.)

Now that I'm about to upgrade to wx-3.0.0, I took another look at this.
For the record, lmi no longer uses wxHtmlHelpController anyway; and
"windows-1252" remains suitable for our html files that use it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]