Bug 104303

Summary: wrong content: display with utf-8 characters
Product: [Applications] konqueror Reporter: Yan Morin <yansanmo.site>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: thiago
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yan Morin 2005-04-21 02:09:17 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs

When you write 
tag:before { content: "unicode characters"; }

inside a style sheet document or .css document 
(with a server that send utf-8 by default) 
khtml display them incorrectly inside the html page

You can see the wrong conversion in this test case:
http://yansanmo.no-ip.org:8080/test/css/content.htm

Note: CSS file and HTML file are in UTF-8.
Firefox display it correctly.

I saw that first on my main page.
Comment 1 Tommi Tervo 2005-10-14 11:45:55 UTC
Test case is not available.
Comment 2 Thiago Macieira 2005-12-14 22:42:49 UTC
Not a bug.

The server replied for the content.css file:

kio_http: (1179) "Content-Type: text/css"

So, we do what we are supposed to: guessed the encoding to be Latin 1. If you want something else, the server has to report the correct encoding.