Bug 54500 - Non-ascii folders may disappear, depending on LC_CTYPE
Summary: Non-ascii folders may disappear, depending on LC_CTYPE
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: folder list (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-11 22:51 UTC by Gaute Hvoslef Kvalnes
Modified: 2012-08-19 01:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (67.42 KB, image/png)
2003-02-12 12:34 UTC, Gaute Hvoslef Kvalnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gaute Hvoslef Kvalnes 2003-02-11 22:51:39 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Debian testing/unstable Packages

I tried an alternative window manager recently: evilwm http://evilwm.sourceforge.net/

When I ran KMail, I noticed that two of my folders had disappeared. These folders both contain the Norwegian letter 
Comment 1 Ingo Klöcker 2003-02-12 01:22:57 UTC
Subject: Re:  New: Non-ascii folders disappear in evilwm

What do you mean by disappeared? Can you probably provide a screenshot? 
Anyway, I doubt very much that this is a bug in KMail.

Comment 2 Gaute Hvoslef Kvalnes 2003-02-12 12:27:41 UTC
I experimented some more, and found that KMail behaved differently when started from two different xterms. Comparing environment variables revealed that LC_CTYPE is the deciding factor:

-------
$ export LC_CTYPE=nn_NO.UTF-8
$ kmail

The non-ascii folders have disappeared.
-------

-------
$ export LC_CTYPE=nn_NO.ISO-8859-1
$ kmail

The folders are now back.
-------

So evilwm has nothing to do with this bug, it's LC_CTYPE that affects KMail.
Comment 3 Gaute Hvoslef Kvalnes 2003-02-12 12:34:34 UTC
Created attachment 939 [details]
Screenshot

The screenshot shows the correct folder list to the left, and the buggy one on
the right. Note that the folders "Bokm
Comment 4 Stephan Kulow 2003-09-24 21:27:48 UTC
we save the folder in the user's locale. You can't simply change your 
locale and expect your file system data still be there. The days that 
all file systems are unicode aware are most likely decades ahead ;-(( 
 
We could save the folders in UTF-8, but that would surely break quite 
some of them. But my prefered solution would be you confirm you did 
a silly mistake and close the bug yourself ;) 
Comment 5 Stephan Kulow 2003-09-27 11:18:13 UTC
I believe it. The biggest problem with it is most likely that the config files has 
the correct unicode name (depending on the first time's locale of course) 
 
But changing locales this way is simply asking for problems: missing feature 
Comment 6 Gaute Hvoslef Kvalnes 2003-09-27 15:28:48 UTC
I realise that the problem may be regarded as out of KMail's scope, but I still think KMail should have 
handled it better. Totally hiding the folder is not acceptable, but showing a slightly garbled name would 
be better.

I experience a similar problem in music players (JuK, Noatun, Xmms), with artist names (in 
files/directories) containing non-ASCII characters. However, no music player hides the file, they just show 
Comment 7 Myriam Schweingruber 2012-08-18 08:54:30 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 8 Luigi Toscano 2012-08-19 01:05:36 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.