1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
Commit Graph

18 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
491a07729d - mkdir Unicode wrapper (refs #543)
- fix load/save of configuration and creation of configuration directory (refs #528)
2006-02-12 22:45:04 +00:00
Rémi Denis-Courmont
68e2a72328 Export FromLocaleDup() 2006-02-12 19:57:48 +00:00
Rémi Denis-Courmont
f5f61ad59d - UF8 wrappers for stat, lstat
- FromLocaleDup() returns a string to be freed with free() instead of LocaleFree()
2006-02-12 19:48:50 +00:00
Rémi Denis-Courmont
9efc237adb Unicode wrappers for opendir/readdir 2006-02-11 21:46:06 +00:00
Rémi Denis-Courmont
8a9fe65207 vlc_fopen() wrapper including required file name conversion (refs #528, refs #543) 2006-02-11 15:13:56 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Jean-Paul Saman
5f81447879 Guard against multiple inclusions 2005-10-10 07:56:33 +00:00
Rémi Denis-Courmont
ce391606d4 Add const qualifier 2005-10-02 11:11:12 +00:00
Rémi Denis-Courmont
dab38ed798 UTF32 to UTF8 conversion
because the buggy GUI toolkit that sucks big time^W^W^W^W^W^W^WwxWidgets
needs it
2005-10-02 08:53:14 +00:00
Christophe Massiot
f9d13dd1ea * src/extras/libc.c: Added an implementation of scandir (from directory.c).
* modules/control/http.c: Use scandir instead of readdir since it allows
   to sort the files alphanumerically.
 * src/misc/charset.c: Fixed the declaration of vlc_fix_readdir_charset.
2005-08-05 19:25:38 +00:00
Christophe Massiot
adf38793e7 * 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.
2005-08-04 19:09:15 +00:00
Rémi Denis-Courmont
53d6bb5d31 Use UTF-8 internally (closes #16 and introduces lots of yet to be uncovered bugs)
* libvlc: Conversion functions (needs performance improvement)
          Convert filenames from command line
* SAP, Skins2: no perform own UTF-8 conversion
* file, playlistold : convert
* wx, winCE : assume UTF-8
2005-08-03 19:01:44 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Steve Lhomme
3d831e04ec Avoid \r\n problems between platforms 2005-03-02 16:47:31 +00:00
Gildas Bazin
b6fde88ed9 * include/charset.h: added "extern "C" {" for c++ modules.
* modules/mux/mp4.c, modules/demux/ts.c: fixed memleaks.
2004-02-21 23:15:52 +00:00
Clément Stenac
6de15a630f * Strings review in include/
* Removed trailing spaces
2004-01-25 18:17:08 +00:00
Derk-Jan Hartman
f388eb55e1 * added a vlc_current_charset function. This tries to get the current charset
in use by the OS. It's pretty nifty. if available it uses nl_langinfo. Then
  it falls back to trying setlocale (exept on OSX, where this funtion is useless)
  and then falls back to LC_ALL, LC_TYPE and LANG environment variables.
  If only the LANG variable is available (like on osx) it tries a countrycode
  to charset mapping (making an educated guess ).
  On windows it retrieves the charset with GetACP().
  It also has an aliases system to transform incompatible charset description
  strings to libiconv compatible charset descriptions. If you want you can even
  retrieve the charset on OS/2.
* modules/codec/subsdec/subsdec.c: By default we try to open a subtitle file in
  the systems charset (or language mapped to charset). It's no more than a guess,
  and if you open Latin1 subs on your Japanese system you will still need to
  specify the encoding by hand, but it's better then nothing.
* src/playlist/playlist.c: spelling error in a comment.
2003-08-23 12:59:31 +00:00