Bug 104303 - wrong content: display with utf-8 characters
Summary: wrong content: display with utf-8 characters
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 02:09 UTC by Yan Morin
Modified: 2005-12-14 22:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.