Re: KDE open file dialog and accented file names

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

 



Dnia wtorek, 27 marca 2012 09:15:48 Chusslove Illich pisze:
> > [: pennguin :]
> > I run the app with LANG variable set to C (LANG=C kwrite). But is this
> > proper method for quick language change?
> 
> It is not. The input-output encoding of C locale is plain ASCII, so any non-
> ASCII encodings are going to cause garbage. Hence the problem with file
> names that you see (they are probably stored as UTF-8 in the file system).
> 
> The correct way to change a language through environment variable for an
> ordinary Gettext-based program is through LANGUAGE. This takes only the
> language code, not the full locale name. E.g. LANGUAGE=en_US.
> 
> KDE programs however respect LANGUAGE only if the language has not been set
> through System Settings. If it was, then one has to use KDE_LANG variable
> instead.

Thanks for pointing this out, I didn't know about it. Works flawlessly :)
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux