Bug 70877

Summary: wrong charset of the xml file loaded via javascript
Product: [Applications] konqueror Reporter: Eugene Onischenko <oneugene>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolasg
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: testcase

Description Eugene Onischenko 2003-12-19 23:31:00 UTC
Version:           4.0 (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.4.21-3-686

When I'm trying to load some xml file using javascript methods, kjs loads xml file, but the data is always in latin1 or iso-8859-1 encoding. Even if encoding explicitly specified in the xml file (<?xml version="1.0" encoding="....."?>)

I'll attach a test suite later.
Comment 1 Eugene Onischenko 2003-12-19 23:47:48 UTC
Created attachment 3788 [details]
testcase

This file contain test.html file, which loads test1.xml.
test1.xml contains some data in CP1251 encoding (cyrillic letters).
When test.html is loaded in konqueror window, I cannot see cyrillic characters.
There are some iso-8859-1 characters (Îäèí)
Comment 2 Nicolas Goutte 2003-12-22 01:24:46 UTC
See also bug #42683 and its duplicates.
Comment 3 Mario Weilguni 2005-04-11 08:22:27 UTC

*** This bug has been marked as a duplicate of 42683 ***