* src/misc/charset.c: New function vlc_fix_readdir_charset. It is used
under Mac OS X to transform UTF-8-MAC returned by readdir() into UTF-8. Darwin always uses UTF-8 internally, so we vlc_current_charset should always return UTF-8. Also made vlc_current_charset() thread-safe and added a few missing const's.
Showing with 63 additions and 8 deletions