Bug 16847
Summary: | Bugzilla should send pages as UTF-8 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | WebKit Website | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, ddkilzer, mrowe |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://bugs.webkit.org/show_bug.cgi?id=13167#c4 |
Eric Seidel (no email)
Bugzilla should send pages at UTF8
Mark mentioned in
http://bugs.webkit.org/show_bug.cgi?id=13167#c4
that he should fix this. It looks like this hasn't quite been done yet. This bug is to track the fix to bugzilla (or to upgrade to a version of bugzilla which sends pages as utf8).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
It's nowhere near as simple as it seems. The old version of Bugzilla we have is completely retarded and store the text in the database in whatever encoding their browser happened to be using when they wrote the comment. This means the Bugzilla database currently contains a horrible mess of text in latin1, MacRoman, UTF-8 and other codecs. There is a script that in theory can convert all of these to UTF-8 when upgrading to Bugzilla 3, but in my tests it did a less than perfect job.
Alexey Proskuryakov
Will it be possible to manually force another charset to see old comments stored as Latin-1? If so, I'm not sure that we spend much time trying to fix old data.
Also, does having invalid UTF-8 in the database cause internal problems in Bugzilla 3?
Robert Blaut
*** Bug 18772 has been marked as a duplicate of this bug. ***
David Kilzer (:ddkilzer)
The contrib/recode.pl script that comes with recent versions of Bugzilla updates the previous text in the database to be UTF-8 encoded, and then serves the web pages as UTF-8 encoded as well. Bugzilla also handles the encoding on the initial submit as well.
I'm changing this to be a duplicate of the Bugzilla upgrade bug (Bug 17457) since it will get fixed in the upgrade process.
*** This bug has been marked as a duplicate of 17457 ***