For windows, make UTF-8 mode into a runtime choice.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 7 Apr 2013 03:11:19 +0000 (13:11 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 7 Apr 2013 03:11:19 +0000 (13:11 +1000)
commit6a9a18ff7abbcefe1286033be8c72f635102c84d
tree431aad40db4a9ad8d7b3fc5d9c83584c394687c8
parentb500183e95b43575b5f1e5f859c797ca88287eaf
For windows, make UTF-8 mode into a runtime choice.

The smaller patch makes the utf-8 library use ANSI codepage by
default. When frontends call the "get_utf8_argv" function it
changes Unicode conversion codepage from ANSI to UTF-8.

Patch from Janne Hyv√§rinen <cse@sci.fi>.
31 files changed:
FLAC.sln
examples/c/decode/file/example_c_decode_file.vcproj
examples/c/encode/file/example_c_encode_file.vcproj
examples/cpp/decode/file/example_cpp_decode_file.vcproj
examples/cpp/encode/file/example_cpp_encode_file.vcproj
src/flac/flac.vcproj
src/flac/iffscan.vcproj
src/libFLAC++/libFLAC++_dynamic.vcproj
src/libFLAC++/libFLAC++_static.vcproj
src/libFLAC/libFLAC_dynamic.vcproj
src/libFLAC/libFLAC_static.vcproj
src/metaflac/metaflac.vcproj
src/monkeys_audio_utilities/flac_mac/flac_mac.vcproj
src/monkeys_audio_utilities/flac_ren/flac_ren.vcproj
src/plugin_common/plugin_common_static.vcproj
src/share/getopt/getopt_static.vcproj
src/share/grabbag/grabbag_static.vcproj
src/share/replaygain_analysis/replaygain_analysis_static.vcproj
src/share/replaygain_synthesis/replaygain_synthesis_static.vcproj
src/share/utf8/utf8_static.vcproj
src/share/win_utf8_io/win_utf8_io.c
src/share/win_utf8_io/win_utf8_io.vcproj
src/test_grabbag/cuesheet/test_cuesheet.vcproj
src/test_grabbag/picture/test_picture.vcproj
src/test_libFLAC++/test_libFLAC++.vcproj
src/test_libFLAC/test_libFLAC.vcproj
src/test_libs_common/test_libs_common_static.vcproj
src/test_seeking/test_seeking.vcproj
src/test_streams/test_streams.vcproj
src/utils/flacdiff/flacdiff.vcproj
src/utils/flactimer/flactimer.vcproj