GNOME Bugzilla – Bug 375161
Online docs don't display utf-8 Character Set correctly
Last modified: 2018-06-29 21:16:03 UTC
Pages from the English Help Manual and Concepts Guide in the 2.0 section of http://www.gnucash.org/docs.phtml don't properly display their Unicode (UTF-8) character set in Firefox 2.0 on Mac OS X 10.4.8 (PPC). Example: http://www.gnucash.org/docs/v2.0/C/gnucash-guide/ has many capital A characters with circumflex (^) accents in the navigation areas when it loads. Manually changing to Unicode (UTF-8) character set in Firefox (View -> Character Encoding) produces a correct display. I suspect that the problem is that the pages are missing their Document Type Declaration (<!DOCTYPE...> on the 1st line). All pages of the Concepts Guide that I have read (1st 8 chapters) exhibit the same problem. Other information:
I think that's a problem of the http server, i.e. the configuration of apache. There was some issue that was solved by manually forcing an iso-8859-1 encoding of all pages served; however, this breaks down once utf-8 pages are being served. In any case, this only concerns the on-line version of the documentation, doesn't it? The installed documentation probably runs fine.
You are probably correct, Christian. I have not yet installed the gnucash-doc package, so my report only concerns the on-line version of the docs.
The Content-Type header says "text/html; charset=iso-8859-1". The page contains a <meta/> tag with "text/html; charset=UTF-8". Which does FireFox believe...? Probably the former...
So what is/was the reason not to use "AddDefaultCharset Off"? And yes, I think HTTP headers take precedence over meta tags.
IIRC the mailing list archives had some encoding issues that were solved by setting the apache configuration to the current state.
Just noticed that the nightly build of the Concepts Guide from SVN (http://svn.gnucash.org/docs/guide/) displays properly.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=375161. Please update any external references or bookmarks.