diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2020-08-06 19:52:17 +1000 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2020-08-08 15:00:25 +0300 |
commit | bb231889fdd2ee0f519bdb1c756b61ceefd5584b (patch) | |
tree | 9a645d8391f5893bf9c67401ef308394fe1b6120 /demux | |
parent | cdd8ba7224a75582c5bcec4906d305f2341400ad (diff) | |
download | mpv-bb231889fdd2ee0f519bdb1c756b61ceefd5584b.tar.bz2 mpv-bb231889fdd2ee0f519bdb1c756b61ceefd5584b.tar.xz |
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
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions