* [RFC] FS charset conversions
@ 2002-11-05 10:51 Samium Gromoff
2002-11-05 11:53 ` Alan Cox
2002-11-05 12:25 ` Alexander Viro
0 siblings, 2 replies; 3+ messages in thread
From: Samium Gromoff @ 2002-11-05 10:51 UTC (permalink / raw)
To: linux-kernel
The problem root lies in the fact in some languages (notably russian)
there is more then one widely used charset. In russian for example
there are koi8-r, iso8859-5, cp866 and the infamous but widely used
ms cp1251.
Once you need to have access to some data with names using the second
half of the ascii table the trouble arises. For example the situation
i have here is that smbd provides the public share and people creates
there some files originating with the cp1251 encoding. Myself having
koi8-r as the system default charset naturally observe crap.
The proposed and seemingly natural solution is to add a possibility
to mount --bind the subtree with a filename charset conversion applied.
regards, Samium Gromoff
______________________________________
__________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] FS charset conversions
2002-11-05 10:51 [RFC] FS charset conversions Samium Gromoff
@ 2002-11-05 11:53 ` Alan Cox
2002-11-05 12:25 ` Alexander Viro
1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2002-11-05 11:53 UTC (permalink / raw)
To: Samium Gromoff; +Cc: Linux Kernel Mailing List
On Tue, 2002-11-05 at 10:51, Samium Gromoff wrote:
> The proposed and seemingly natural solution is to add a possibility
> to mount --bind the subtree with a filename charset conversion applied.
The traditional unix approach is to declare the universe UTF-8. No
single character set is the right answer, UTF8 preserves "/" and \0
semantics so works very well indeed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] FS charset conversions
2002-11-05 10:51 [RFC] FS charset conversions Samium Gromoff
2002-11-05 11:53 ` Alan Cox
@ 2002-11-05 12:25 ` Alexander Viro
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Viro @ 2002-11-05 12:25 UTC (permalink / raw)
To: Samium Gromoff; +Cc: linux-kernel
On Tue, 5 Nov 2002, Samium Gromoff wrote:
> The problem root lies in the fact in some languages (notably russian)
> there is more then one widely used charset. In russian for example
> there are koi8-r, iso8859-5, cp866 and the infamous but widely used
> ms cp1251.
>
> Once you need to have access to some data with names using the second
> half of the ascii table the trouble arises. For example the situation
> i have here is that smbd provides the public share and people creates
> there some files originating with the cp1251 encoding. Myself having
> koi8-r as the system default charset naturally observe crap.
>
> The proposed and seemingly natural solution is to add a possibility
> to mount --bind the subtree with a filename charset conversion applied.
Will not work. Bindings do _NOT_ create extra superblock/dentry tree/etc.
and they are invisible to filesystem. E.g. to ->readdir().
(besides, filesystems playing with case conversions are bad enough, now
let's VFS try charset ones?)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-05 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 10:51 [RFC] FS charset conversions Samium Gromoff
2002-11-05 11:53 ` Alan Cox
2002-11-05 12:25 ` Alexander Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®