Bug 29916 - [GTK] Fails to render ISO-8859-1 websites if no charset is specified
Summary: [GTK] Fails to render ISO-8859-1 websites if no charset is specified
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 03:06 PDT by Sebastian Dröge (slomo)
Modified: 2012-02-03 16:02 PST (History)
2 users (show)

See Also:


Attachments
test.html (182 bytes, text/plain)
2009-09-30 03:06 PDT, Sebastian Dröge (slomo)
no flags Details
test-utf8.html (190 bytes, text/plain)
2009-09-30 03:07 PDT, Sebastian Dröge (slomo)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Dröge (slomo) 2009-09-30 03:06:45 PDT
Created attachment 40355 [details]
test.html

Hi,
Webkit/GTK 1.1.15.1 fails to render ISO-8859-1 websites if no charset is specified anywhere. Non-ASCII characters are displayed as �.
OTOH if the same website is saved as UTF8 everything is displayed correctly.

Attached is are two samples, one saved as ISO-8859-1 and the other one as UTF-8. No matter what the current locale is, the former isn't rendered correctly while the latter is so I assume Webkit always assumes UTF8 if nothing else is specified.

Gecko handles this correctly somehow. Also gedit detects in both cases the charset correctly so maybe one could take a look at that code ;)
Comment 1 Sebastian Dröge (slomo) 2009-09-30 03:07:07 PDT
Created attachment 40356 [details]
test-utf8.html
Comment 2 Sebastian Dröge (slomo) 2009-11-04 03:35:58 PST
That's now fixed as a side effect of bug #15914.
Comment 3 Sebastian Dröge (slomo) 2009-12-08 05:27:48 PST
...and reopening again. With 1.1.17 the problem is still there.
Comment 4 Martin Robinson 2012-02-03 16:02:00 PST
I see the same behavior in Firefox, Chromium and Epiphany. Feel free to reopen this with more information, if you think I've closed it in error.