After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316849 - undefined html encoding
undefined html encoding
Status: RESOLVED OBSOLETE
Product: yelp-xsl
Classification: Core
Component: General
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-21 14:20 UTC by kaliber
Modified: 2018-05-22 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (804 bytes, patch)
2005-10-23 21:29 UTC, Thierry Moisan
rejected Details | Review
Proposed patch (590 bytes, patch)
2010-05-18 14:36 UTC, Pete Scott
none Details | Review

Description kaliber 2005-09-21 14:20:46 UTC
In generated html form docbook encoding is missing. Many non-english pages are
displayed wrong because encoding is not always detected correct by web browser.

In file db2html-division.xsl should be added line after title:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Comment 1 Thierry Moisan 2005-10-23 21:29:31 UTC
Created attachment 53811 [details] [review]
proposed patch

Patch that makes the changes described in the bug report.
Comment 2 Shaun McCance 2006-11-08 17:28:25 UTC
Comment on attachment 53811 [details] [review]
proposed patch

This line needs to go in to the actual HTML output, not nested in a comment in the XSLT.

Also, db2html actually generates XHTML, so the media typ should be application/xhtml+xml.
Comment 3 Pete Scott 2010-05-18 14:36:42 UTC
Created attachment 161359 [details] [review]
Proposed patch

First time helping out here. Please let me know if I can do anything different to improve my (MEAGER!) contribution.
Comment 4 Matt Rajca 2010-11-13 23:27:53 UTC
Can someone commit and review the change in the patch above? If more work needs to be done I'm up for it.
Comment 5 Shaun McCance 2012-01-19 14:23:11 UTC
Need to set the content type for HTML or XHTML based on whether $html.xhtml is true, and if we're going to declare that the files are UTF-8, then we better make sure they actually are by specifying the encoding attribute on exsl:document.
Comment 6 GNOME Infrastructure Team 2018-05-22 12:43:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/yelp-xsl/issues/6.