bug#33053: scm_i_mirror_backslashes assumes ASCII-compatible locale encoding

2018-10-19 Thread Mark H Weaver
tags 33053 + notabug close 33053 thanks Mark H Weaver writes: > Mark H Weaver writes: > >> The 'scm_i_mirror_backslashes' in load.c operates on C strings in the >> locale encoding, and assumes that the locale encoding is ASCII >> compatible. In the Shift_JIS encoding, used in the "JP_jp.sjis"

bug#33053: scm_i_mirror_backslashes assumes ASCII-compatible locale encoding

2018-10-15 Thread Mark H Weaver
Mark H Weaver writes: > The 'scm_i_mirror_backslashes' in load.c operates on C strings in the > locale encoding, and assumes that the locale encoding is ASCII > compatible. In the Shift_JIS encoding, used in the "JP_jp.sjis" locale, > backslash '\' is mapped to a multibyte character, and the Yen

bug#33053: scm_i_mirror_backslashes assumes ASCII-compatible locale encoding

2018-10-15 Thread Mark H Weaver
The 'scm_i_mirror_backslashes' in load.c operates on C strings in the locale encoding, and assumes that the locale encoding is ASCII compatible. In the Shift_JIS encoding, used in the "JP_jp.sjis" locale, backslash '\' is mapped to a multibyte character, and the Yen sign '¥' is represented using c