wm4
a1244111a7
windows support: unicode filenames
...
Windows uses a legacy codepage for char* / runtime functions accepting
char *. Using UTF-8 as the codepage with setlocale() is explicitly
forbidden.
Work this around by overriding the MSVCRT functions with wrapper
macros, that assume UTF-8 and use "proper" API calls like _wopen etc.
to deal with unicode filenames. All code that uses standard functions
that take or return filenames must now include osdep/io.h. stat()
can't be overridden, because MinGW-w64 itself defines "stat" as a
macro. Change code to use use mp_stat() instead.
This is not perfectly clean, but still somewhat sane, and much better
than littering the rest of the mplayer code with MinGW specific hacks.
It's also a bit fragile, but that's actually little different from the
previous situation. Also, MinGW is unlikely to ever include a nice way
of dealing with this.
2012-03-09 20:48:54 +02:00
..
2010-11-02 04:16:55 +02:00
2010-11-02 04:16:46 +02:00
2012-02-01 22:46:27 +02:00
2010-11-02 04:18:07 +02:00
2011-01-31 16:00:58 +02:00
2012-02-01 22:46:27 +02:00
2012-02-01 22:46:27 +02:00
2012-02-01 22:46:27 +02:00
2010-11-02 04:18:07 +02:00
2011-04-13 03:15:05 +03:00
2010-11-02 04:18:07 +02:00
2010-05-25 11:39:58 +00:00
2010-11-14 13:11:20 +02:00
2010-11-02 04:14:44 +02:00
2012-02-01 22:46:27 +02:00
2011-05-07 22:17:51 +03:00
2012-03-01 00:22:30 +02:00
2011-05-06 18:33:16 +03:00
2010-05-25 11:39:58 +00:00
2011-05-02 00:36:21 +03:00
2012-03-01 00:22:30 +02:00
2011-12-11 07:48:26 +02:00
2011-11-14 20:24:36 +02:00
2011-10-20 02:16:35 +03:00
2011-07-02 09:22:32 +03:00
2011-05-06 18:33:16 +03:00
2011-12-06 05:03:39 +02:00
2011-12-06 05:03:39 +02:00
2011-06-29 10:49:41 +03:00
2011-07-14 01:19:07 +03:00
2011-11-25 23:56:28 +02:00
2010-05-27 10:08:30 +00:00
2011-11-14 20:24:36 +02:00
2011-04-24 03:55:47 +03:00
2011-04-24 03:55:47 +03:00
2010-04-26 18:46:18 +03:00
2012-02-03 20:15:16 +02:00
2010-05-29 10:06:29 +00:00
2010-11-02 04:16:48 +02:00
2011-02-15 19:14:34 +02:00
2012-02-01 22:46:27 +02:00
2012-03-01 00:22:30 +02:00
2010-03-28 00:08:28 +00:00
2012-02-01 22:46:27 +02:00
2012-02-01 22:46:27 +02:00
2012-02-01 22:46:27 +02:00
2012-03-01 00:22:30 +02:00
2011-07-01 03:37:34 +03:00
2011-05-02 00:46:48 +03:00
2011-12-11 07:48:26 +02:00
2011-11-14 20:24:39 +02:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2011-12-06 05:03:39 +02:00
2010-11-14 13:11:20 +02:00
2011-05-02 00:46:48 +03:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2011-07-06 07:13:08 +03:00
2010-11-14 13:11:20 +02:00
2011-04-24 03:55:47 +03:00
2011-07-06 09:15:57 +03:00
2011-07-06 09:15:57 +03:00
2010-05-29 17:20:44 +03:00
2011-12-19 02:02:32 +02:00
2010-05-29 17:20:44 +03:00
2010-11-14 13:11:20 +02:00
2011-12-19 21:56:00 +02:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2011-05-06 18:33:16 +03:00
2010-11-02 04:16:45 +02:00
2010-05-29 17:20:44 +03:00
2010-06-05 23:37:42 +03:00
2011-01-25 02:29:31 +02:00
2012-01-02 06:15:52 +02:00
2011-04-20 04:36:05 +03:00
2010-04-26 18:25:34 +03:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2010-11-14 13:11:20 +02:00
2010-11-14 13:11:20 +02:00
2010-05-29 17:20:44 +03:00
2011-07-06 09:24:31 +03:00
2011-04-24 03:55:47 +03:00
2010-05-29 17:20:44 +03:00
2012-02-01 22:46:27 +02:00
2011-07-18 00:57:05 +03:00
2011-07-18 00:57:05 +03:00
2010-05-29 17:20:44 +03:00
2010-06-05 23:37:42 +03:00
2010-11-14 13:11:20 +02:00
2010-05-29 17:20:44 +03:00
2010-06-02 19:12:01 +03:00
2011-02-15 19:12:50 +02:00
2011-04-24 03:55:47 +03:00
2011-04-20 04:22:53 +03:00
2011-05-06 18:33:16 +03:00
2011-06-24 22:31:44 +03:00
2011-07-18 00:57:05 +03:00
2010-05-29 17:20:44 +03:00
2012-03-09 20:48:54 +02:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2011-06-29 10:49:41 +03:00
2011-12-19 02:02:32 +02:00
2011-10-16 21:11:11 +03:00
2011-11-25 23:56:28 +02:00
2011-06-29 10:49:41 +03:00
2011-04-24 03:55:47 +03:00
2010-05-29 17:20:44 +03:00
2011-07-18 00:57:05 +03:00
2011-07-06 13:01:07 +03:00
2010-05-29 17:20:44 +03:00
2011-04-24 03:55:47 +03:00
2010-05-29 17:20:44 +03:00
2011-05-02 00:46:48 +03:00
2011-04-24 03:55:47 +03:00
2011-04-24 03:55:47 +03:00
2010-11-14 13:11:20 +02:00
2012-02-01 22:46:27 +02:00
2011-12-12 21:39:20 +02:00
2011-06-28 19:04:22 +03:00
2010-05-29 17:20:44 +03:00
2010-05-29 17:20:44 +03:00
2012-02-27 18:18:49 +02:00
2011-12-06 05:03:39 +02:00
2011-12-06 05:03:39 +02:00