Tim Mayberry
9192a2e969
This currently fails because the windows only realpath implementation in pbd/pathexpand.cc, which is called from PBD::canonical_path to resolve the path uses Glib::locale_from/to_utf8. As I demonstrated in the testOpenFileUTF8Filename test case Glib::locale_from/to_utf8 are not the correct functions to use for this use case as it converts to/from utf-8 to the locale's current character encoding. On Windows this is most often a single byte encoding such as Windows-1252 and conversion will fail if the path contains any characters that are not in system codepage. |
||
---|---|---|
.. | ||
i18n_test | ||
convert_test.cc | ||
convert_test.h | ||
filesystem_test.cc | ||
filesystem_test.h | ||
Makefile | ||
mutex_test.cc | ||
mutex_test.h | ||
natsort_test.cc | ||
natsort_test.h | ||
ProtoolsPatchFile.midnam | ||
reallocpool_test.cc | ||
reallocpool_test.h | ||
RosegardenPatchFile.xml | ||
scalar_properties.cc | ||
scalar_properties.h | ||
signals_test.cc | ||
signals_test.h | ||
test_common.cc | ||
test_common.h | ||
testrunner.cc | ||
TestSession.ardour | ||
timer_test.cc | ||
timer_test.h | ||
windows_timer_utils_test.cc | ||
windows_timer_utils_test.h | ||
xml_test.cc | ||
xml_test.h | ||
xpath.cc | ||
xpath.h |