Locale filename conversion

View: New views
1 Messages — Rating Filter:   Alert me  

Locale filename conversion

by Lawrence D'Oliveiro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The GNOME XML parser used by dvdauthor returns all strings internally in
UTF-8 encoding. This includes file names. dvdauthor then converts file
name strings to your locale encoding before passing them to filesystem
calls.

I wonder whether this is right, though. I think the convention on
Unix/Linux systems these days is for all filenames to be stored in UTF-8
encoding. That way, underlying names remain consistent between different
processes/logins/users using different locale settings. If users are
accustomed to working in different encodings, the names can be converted
back and forth as required.

This means that the UTF-8 strings from the XML should always be used as is.

Thoughts, anyone?

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users