Bug 161777 - Kwrite doesn't detect charset encoding when using view source in Konqueror
Summary: Kwrite doesn't detect charset encoding when using view source in Konqueror
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 06:49 UTC by Tobias Steinruecken
Modified: 2009-05-09 01:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot showing the bug. (187.48 KB, image/png)
2008-05-11 12:10 UTC, Gaurav Chaturvedi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Steinruecken 2008-05-08 06:49:08 UTC
Version:            (using KDE 4.0.3)
Installed from:    Compiled From Sources
Compiler:          4.2.3 ../configure --host=x86_64-pc-linux-gnu --enable-languages=c++ --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-__cxa_atexit --enable-threads --disable-nls --enable-target-optspace --with-gnu-ld --with-system-zlib --enable-shared --disable-multilib
OS:                Linux

When browsing Websites encoded with UTF8 and using right-click->show document source, kwrite pops up - with all unicode characters messed up
(May be Bug #65003 again?)
Comment 1 Gaurav Chaturvedi 2008-05-11 12:00:01 UTC
I confirm having this bug on :-
OS - Kubuntu hardy 8.04
KDE - 4.0.3 (standard kubuntu package)

Website :- http://devanaagarii.net/
Comment 2 Gaurav Chaturvedi 2008-05-11 12:10:16 UTC
Created attachment 24708 [details]
screenshot showing the bug.
Comment 3 Gaurav Chaturvedi 2008-05-11 12:30:29 UTC
Problem Solved!

The encoding in Kwrite was not proper, I was able to see the encoding cleanly after changing the settings from Tools>>Encoding>> UTF-8
Comment 4 Leo Savernik 2008-05-12 21:26:53 UTC
Am Sonntag, 11. Mai 2008 schrieb Gaurav Chaturvedi:
> The encoding in Kwrite was not proper, I was able to see the encoding
> cleanly after changing the settings from Tools>>Encoding>> UTF-8


That's an acceptable workaround, but it should not be necessary to set the 
encoding manually. View source does already know about the encoding and 
should pass it to kwrite directly.
Comment 5 Dario Andres 2008-12-20 18:54:24 UTC
Here using:

Qt: 4.4.3                 
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 899135 / kdebase svn rev. 899135
on ArchLinux x86_64 - Kernel 2.6.27.8

Viewing the source of http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html is OK here. KWrite displays the UTF8 characters without having to manually change the encoding.
Viewing the source of http://devanaagarii.net/  also works OK here.

Can anyone else confirm this ?
Comment 6 Anselmo L. S. Melo (anselmolsm) 2009-05-09 00:00:48 UTC
Also working nicely here, using:

Qt: 4.5.1                 
KDE:  4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
kdelibs svn rev. 964566 / kdebase svn rev. 964882
on Gentoo Linux x86 - kernel 2.6.29-tuxonice-r1
Comment 7 Dario Andres 2009-05-09 01:57:12 UTC
I can also confirm that this still works here using:

Qt: 4.5.1 (qt-copy  960517)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 963904 / kdebase svn rev. 963904
on ArchLinux i686 - Kernel 2.6.29.1

Closing as WORKSFORME.