Bug 131280

Summary: Choosed encoding doesn't affect displayed changes
Product: [Applications] kompare Reporter: Andrey Cherepanov <sibskull>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED FIXED    
Severity: normal CC: grundleborg
Priority: NOR    
Version: 3.4   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrey Cherepanov 2006-07-24 09:04:15 UTC
Version:           3.4 (using KDE 3.5.0, compiled sources)
Compiler:          gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
OS:                Linux (i686) release 2.6.9-1.667smp

I try to compare two files in KOI8-R codepage. First, I cannot find KOI8-R in encoding list. It's annoying but is not fatal, I use koi8-u. When main window is appeared, differences is shown as umlauts, not Cyrillic. I look program output:
...
kompare: Encoding: koi8-u
...
kompare:  Trying to find DEFAULT in /usr/share/i18n/charmaps
kompare (libs): "LANG=C" "diff" "-U" "3" "-H" "-d" "-r" "-N" "--" "'/home/cas/22'" "'/home/cas/33'"

Why DEFAULT? I select koi8-u! 
If I manually run this command, output has koi8-r characters. But why Kompare doesn't show differences in the main window in appropriate encoding?
Comment 1 Jan Zimmerschied 2007-06-01 16:57:24 UTC
For a solution and a patch please look at following bugs: 39108, 95054, 123683
Cheers,

Jan
Comment 2 2007-06-01 17:38:26 UTC
I dont understand why users continue reporting bugs about kompare since i remember there wasnt a single fix about, so if kompare developers dont care, why should users continue reporting bugs?
Comment 3 George Goldberg 2007-12-19 09:22:24 UTC
This is fixed in trunk for KDE4 and the KDE 3.5 branch.