[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993971: kate: Kate puts a space when using some dead keys



Hi all,

> I did a test creating a file with the accented letters (my language is
> LANG=it_it), getting these results:
> 
> $ kate prova-accentate-àèéìòù-test
> 
> prova-accentate-ᅵᅵᅵᅵᅵᅵ-test

My guess is that there is a locale setup mismatch, and what happens is:
- filename is encoded in latin1
- kate expects utf8
- kate replaces the non-interpretable characters from latin1 with
	�	(Unicode "REPLACEMENT CHARACTER")
  which has hex utf-8 bytes
	EF BF BD
  which you see in the hd output:
> 00000010  ef bf bd ef bf bd ef bf  bd ef bf bd ef bf bd ef


I have never tried running KDE in a *non UTF-8* locale, that might be 
problematic.

I tried to reproduce this with 
	LANG=de_AT@euro kate
(this is a iso locale defined on my computer) but kate always uses utf8.

So I suggest that you make sure that your locales are properly set up,
and match with the settings of kde.

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Fujitsu Research  +  IFMGA Guide  +  TU Wien  +  TeX Live  + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Reply to: