On 11/21/2014 12:39 PM, Dale Snell wrote:
> On Fri, 21 Nov 2014 11:55:19 -0800
> Dick Steffens <[email protected]> wrote:
>
>> The documentation for BRL-CAD is a series of html files stored
>> locally. When I open them in Firefox, on some lines I have a number
>> of the character A with a carat over the top. When I look at the same
>> files in Chromium I see indented lines. Does anyone know what is
>> causing Firefox to render this differently from Chromium?
> Sounds to me like a character encoding issue.  Make sure that Chromium
> and Firefox are both set to the same encoding.  It should be Unicode,
> but you never know.

Chromium says UTF-8.

In Firefox Preferences > Content > Fonts > Advanced it says:

--------------------------------------------------------------------------------------
Character Encoding for Legacy Content
   This character encoding is used for legacy content that fails to 
declare its encoding.

   Fallback Character Encoding: Default for Current Locale.
--------------------------------------------------------------------------------------


Running locale shows me that Ubuntu 12.04 is set for UTF-8.

> Also, check the HTML files to see what character set they declare.  E.g.,
>
>      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

There are no <meta> lines in the file, but the page source shows:

<!--?xml version="1.0" encoding="UTF-8"?-->

> It could be that they declare one thing, then use another.  Sometimes
> several others.  :-(  Firefox (and I assume [*cough-cough*] Chromium)
> will set their encoding to match what the file declares.  Which then
> gets fouled up when they hit the wrongly-encoded text.  You might try
> selecting different encodings in Firefox, just to see what happens.
>
> Hope this helps.

Well, it didn't change anything, but it did cause me to find out where 
to look for those things in both browsers.

Thanks for the response.

-- 
Regards,

Dick Steffens

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to