1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00
mpv/osdep
James Ross-Gowan bb231889fd win32: request the UTF-8 code page for Windows APIs
This sets the activeCodePage property in the manifest, which forces the
ANSI code page to be UTF-8 in Windows 10 1903 and up. It shouldn't make
a difference for mpv itself, since mpv already uses the wide-char APIs
for most functions, however some of mpv's dependencies, such as Lua,
rely on the ANSI codepage. Hence this change enables support for Unicode
file names in Lua's I/O library.

Thanks @avih for finding this property.

See:
https://docs.microsoft.com/en-us/windows/uwp/design/globalizing/use-utf8-code-page
2020-08-08 15:00:25 +03:00
..
android osdep: remove posix_spawn() helpers and wrappers 2020-05-15 16:37:41 +02:00
macos
win32
atomic.h
compiler.h
endian.h
getpid.h
glob-win.c
io.c
io.h
macOS_swift_bridge.h
macosx_application_objc.h
macosx_application.h
macosx_application.m build: change filenames of generated files 2020-06-04 16:59:05 +02:00
macosx_compat.h
macosx_events_objc.h
macosx_events.h
macosx_events.m
macosx_menubar_objc.h
macosx_menubar.h
macosx_menubar.m
macosx_touchbar.h
macosx_touchbar.m
macosx_versions.h
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c
main-fn.h
mpv.exe.manifest win32: request the UTF-8 code page for Windows APIs 2020-08-08 15:00:25 +03:00
mpv.rc build: change filenames of generated files 2020-06-04 16:59:05 +02:00
path-macosx.m
path-unix.c path: switch back to using non-XDG config dir by default 2020-06-25 17:56:16 +02:00
path-uwp.c
path-win.c path: do not use old_home for win32 exe dir 2020-06-25 17:56:16 +02:00
path.h
polldev.c
polldev.h
semaphore_osx.c
semaphore.h
strnlen.h
subprocess-dummy.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess-posix.c osdep: remove confstr() fallback for subprocess spawning 2020-05-25 00:30:35 +03:00
subprocess-win.c subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00
subprocess.c command: extend subprocess command 2020-07-20 21:02:17 +02:00
subprocess.h command: extend subprocess command 2020-07-20 21:02:17 +02:00
terminal-dummy.c
terminal-unix.c
terminal-win.c subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00
terminal.h
threads.c build: restore BSD thread names after 9f461b85bf 2020-04-23 13:58:16 +02:00
threads.h
timer-darwin.c
timer-linux.c
timer-win2.c
timer.c
timer.h
w32_keyboard.c
w32_keyboard.h
win32-console-wrapper.c
windows_utils.c subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00
windows_utils.h subprocess-win: update to mp_subprocess2 2020-07-20 21:02:17 +02:00