Bug 202961 - kile (and kate) in KDE4 show errors in long non-latin text (utf8)
Summary: kile (and kate) in KDE4 show errors in long non-latin text (utf8)
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 15:28 UTC by simulation
Modified: 2009-09-06 04:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testfile to reproduce error (256.65 KB, text/plain)
2009-08-07 15:30 UTC, simulation
Details
screenshot of the problem (3.20 KB, image/png)
2009-08-07 15:32 UTC, simulation
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simulation 2009-08-07 15:28:04 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Kile (and kate) show errounous signs in long texts using non-latin unicode. It worked fine with KDE 3.x, bug seems to have been introduced in KDE 4.x.

To reproduce, open http://launchpadlibrarian.net/29944263/01.tex with kile (2.1) in KDE4. The file contains only the small cyrillic letter o. in the very last block of text, a »questionmark in a box« (�) appears. Screenshot: http://launchpadlibrarian.net/29953537/screenshot.png

Other programs (like OpenOffice) don't show this behaviour. When opened and saved again in OpenOffice, Kile can open the file correctly afterwards.

I initially filed the bug here https://bugs.launchpad.net/ubuntu/+source/kile/+bug/409581 but it now seems that the bug does affect more distributions than just Kubuntu. it can be reproduced on opensuse 11.1 x86_64, kde 4.3, kile 2.1. There are some more testfiles to find at the launchpad link.
Comment 1 simulation 2009-08-07 15:30:49 UTC
Created attachment 35964 [details]
testfile to reproduce error

01.tex is a testfile to reproduce the bug. open in kile 2.1 (KDE4) and scroll down to the bottom. the last block shows a wrong sign (cf. following file screenshot.png)
Comment 2 simulation 2009-08-07 15:32:03 UTC
Created attachment 35965 [details]
screenshot of the problem

file is a screenshot of the problem, the last block of text shows a wrong sign.
Comment 3 Pascal Létourneau 2009-09-06 04:38:38 UTC
SVN commit 1020310 by pletourn:

Keep the same decoder while loading a file
BUG:202961


 M  +5 -2      katebuffer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1020310