Bug 162797 - Japanese web pages are not displayed properly
Summary: Japanese web pages are not displayed properly
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 12:21 UTC by Yukiko Bando
Modified: 2008-06-01 10:17 UTC (History)
0 users

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 Yukiko Bando 2008-05-29 12:21:25 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Konqueror in KDE 4.1 Beta1 does not display Japanese web pages that are not encoded in UTF-8. I can select other encodings such as euc-jp and shift_jis from the menu but it doesn't work. From what I see in the document information for such pages, it seems that Konqueror does not recognize Japanese encodings and uses ISO-8859-1 as a fallback.
Comment 1 Maksim Orlovich 2008-05-30 19:42:12 UTC
Could you perhaps provide a sample URL?
Comment 2 Yukiko Bando 2008-05-31 05:06:07 UTC
Could you please test with these pages?

http://www.asahi.com/ (euc-jp)
http://www.nikkei.co.jp/ (shift_jis)
http://mainichi.jp/ (UTF-8)

Thanks.

Comment 3 Maksim Orlovich 2008-05-31 18:21:18 UTC
The encoding is detected fine on them for me, but the first one crashes --- looking into it. This is SVN trunk just slightly after Beta 1 (and 4.0.4ish branch version works fine, too). My guess is that you somehow don't have libqjpcodecs.so installed or working --- it's the codec plugin in Qt that handles the fancy Japanese encodings. It should be under plugins/codecs where your Qt is installed, IIRC.

Comment 4 Maksim Orlovich 2008-05-31 18:52:16 UTC
SVN commit 814893 by orlovich:

Fix crash on asahi.com
CCBUG:162797


 M  +2 -0      dom_nodeimpl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=814893
Comment 5 Maksim Orlovich 2008-05-31 18:54:48 UTC
SVN commit 814895 by orlovich:

automatically merged revision 814893:
Fix crash on asahi.com
CCBUG:162797

 M  +2 -0      dom_nodeimpl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=814895
Comment 6 Maksim Orlovich 2008-05-31 18:55:48 UTC
SVN commit 814897 by orlovich:

Regression test for crash when dispatching an event after an invalid 
listener was added. Noticed on one of the example sites on the (unrelated)
#162797
CCBUG:162797


 A             baseline/events/invalid-add-no-crash.html-dom  
 M  +2 -0      baseline/events/svnignore  
 A             tests/events/invalid-add-no-crash.html  


WebSVN link: http://websvn.kde.org/?view=rev&revision=814897
Comment 7 Yukiko Bando 2008-05-31 19:25:43 UTC
>My guess is that you somehow don't have libqjpcodecs.so installed or working

I'll report the problem to my distributor then. Thank you!

Comment 8 Yukiko Bando 2008-06-01 10:17:52 UTC
Installing libqjpcodecs.so in a separate package (qt4-codecs-plugin-lib) fixed the problem. :) Sorry for the noise and thanks again for the hint!