Bug#47424: files with 16 bit characters not loaded correctly

[email protected] 4 Sep 2002 13:25:11 -0000
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
Package: kate
Version: 2.0 (using KDE 3.0.3 )
Severity: normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.10-4GB
OS/Compiler notes: 

Kate and KWrite do not correctly load text files when they contain
16-bit encoded characters (e.g. UTF8) falling on a 8000 byte boundary.

Probably this is a problem in kdelibs-3.0.2/kate/part/katebuffer.cpp,
where in KateBuffer::loadFilePart() files are loaded as blocks of
size AVG_BLOCK_SIZE = 8000.


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


(Complete bug history is available at http://bugs.kde.org/db/47/47424.html)