Hi,

On 13 Mai, 00:42, Yuri Baburov <burc...@gmail.com> wrote:
> Also on OS X you can set if filename is case-sensitive on per-volume
> basis, when formatting, and usually it's case-insensitive. windows is
> always case insensitive, linux is usually case-sensitive.
I'm not talking about case sensitivity here but unicode normalization
which is controlled in the IO system. For example if you're creating a
file öäü.txt (\x94\x84\x81) OS X will store it as o\u0308a\u0308u
\u0308.txt on the filesystem. No matter if the filesystem is HSF, NFS,
a mounted samba share or anything else. On Linux the filesystem might
have an encoding but is generally non unicode-aware and no
normalization takes place at all. This could lead to weird effects
where you have \x94\x84\x81.txt in the database but o\u0308a\u0308u
\u0308.txt on the filesystem which obviously makes it impossible to
move the data from an OS X system to a linux one or access an NFS
share from two systems at the same time.

> This does matter when one filename has the same letters as another but
> some letters have different case. This also can cause troubles when
> moving existing DB and files from one filesystem to another.
I'm well aware of that, but that's a different story.

Regards,
Armin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to