shaka-packager/packager/app
Joey Parrish 5a2571b9bc
fix: Fix local files with UTF8 names (#1246)
This fixes our use of std::filesystem to interpret all paths names as
UTF8. Before this, UTF8 paths did not work correctly in all cases.

This also adds a new unit test to cover this case.

On Windows, it is critical that a UTF8 locale be set at runtime.
Applications linking with Packager as a library should call setlocale(),
and the Packager frontends now do this automatically after converting
wide character arguments into narrow strings.

Closes #652
2023-07-18 11:59:21 -07:00
..
test Merge remote-tracking branch 'upstream/main' into cmake 2023-07-05 19:51:52 -07:00
ad_cue_generator_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ad_cue_generator_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
crypto_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
crypto_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
gflags_hex_bytes.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
gflags_hex_bytes.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
hls_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
hls_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
job_manager.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
job_manager.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
libcrypto_threading.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
libcrypto_threading.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
manifest_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
manifest_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
mpd_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
mpd_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
mpd_generator.cc fix: Fix local files with UTF8 names (#1246) 2023-07-18 11:59:21 -07:00
mpd_generator_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
muxer_factory.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
muxer_factory.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
muxer_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
muxer_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
packager_main.cc fix: Fix local files with UTF8 names (#1246) 2023-07-18 11:59:21 -07:00
packager_util.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
packager_util.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
playready_key_encryption_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
playready_key_encryption_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
protection_system_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
protection_system_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
raw_key_encryption_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
raw_key_encryption_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
retired_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
retired_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
single_thread_job_manager.cc Work around non-deterministic tests. 2020-10-20 22:00:39 +00:00
single_thread_job_manager.h Work around non-deterministic tests. 2020-10-20 22:00:39 +00:00
stream_descriptor.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
stream_descriptor.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
validate_flag.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
validate_flag.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
vlog_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
vlog_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
widevine_encryption_flags.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
widevine_encryption_flags.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00