Le 19/11/2011 06:06, Richard J.M. Hill a écrit :
As far as I can tell, if a file contains a password (obfuscated) Konqueror doesn't recognize the file type. For example, on my system (Slackware 12.2 with KDE 3.5.10) Konqueror fails to recognize both kmailrc and kopeterc. If I make a copy of kmailrc and remove the password lines, then Konqueror recognizes the file as plain text.
That's not the problem. $ file ~/.trinity/share/config/kmailrc --> UTF-8 Unicode text, with very long lines
The second line is very long. Maybe that's the trouble but to figure out, we would have to look into the sources: kdelibs/kio/kmimemagic.cpp