Code:
--------------------
    
  # If the locale is C or POSIX, that's ASCII - we'll set to iso-8859-1
  # Otherwise, normalize the codeset part of the locale.
  
--------------------


This assumption is certainly okay from a traditional point of view.
However, and as you said above, most systems use "UTF-8" nowadays by
default. So one could set UTF8 encoding by default (at least for Linux
systems). But I'm not sure if it really is a good idea. But a means to
make SC interpret filenames as utf8 encoded could be a good idea (on
"minimal" systems). Maybe one could guess the encoding during scanning
of the library. E.g. like "if common UTF8 bytes are found --> utf8,
else --> latin1").

flip


-- 
flipflip

Check out flipflip's 'SlimServer On DiskStation (SSODS)'
(http://oinkzwurgl.org/ssods/)!
------------------------------------------------------------------------
flipflip's Profile: http://forums.slimdevices.com/member.php?userid=5223
View this thread: http://forums.slimdevices.com/showthread.php?t=48788

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to