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

Re: Linux and UTF8 filenames



On Thu, Sep 19, 2002 at 08:25:37AM +0100, Martin Kochanski wrote:
> Thank you for your response....
> 
> Is a user able to change locales without rebuilding the filesystem?
>

s/rebuilding/remounting/
No.

> If so, then if a user changes locales (for example from Latin-1 to UTF8), does this mean that all existing filenames [with accented letters] suddenly become undisplayable because what was valid as a Latin-1 string is no longer valid as UTF8; or is there some more persistent concept of "the locale of a filesystem" that protects against this problem?

There is a concept of "filesystem encoding" (NLS), but it requires 
root assistance, and does not solve the problem of two users
having different locales, accessing the same filesystem - considering
this situation, the only possible solution is to have filenames
in UTF-8, and applications (such as ls) aware of it.

-- 
 -----------------------------------------------------------
| Radovan Garabík http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/