Lines Matching +full:test_read_format_lha_filename_utf16 +full:. +full:lzh

3  * All rights reserved.
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
12 * documentation and/or other materials provided with the distribution.
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 #include "test.h"
28 #include <locale.h>
37 * Read LHA filename in en_US.UTF-8.
39 if (NULL == setlocale(LC_ALL, "en_US.UTF-8")) {
40 skipping("en_US.UTF-8 locale not available on this system.");
47 * want to test that it works well.
54 " from CP932 to UTF-8.");
60 " from UTF-16 to UTF-8.");
76 /* a:o:u:A:O:U:.txt */
78 "\x4f\xcc\x88\x55\xcc\x88.txt"
83 /* a:o:u:A:O:U:.txt */
84 #define UMLAUT_FNAME "\xc3\xa4\xc3\xb6\xc3\xbc\xc3\x84\xc3\x96\xc3\x9c.txt"
88 #define KATAKANA_FNAME "\xe3\x83\x86\xe3\x82\xb9\xe3\x83\x88.txt"
91 /* Verify regular file. U:O:A:u:o:a:/a:o:u:A:O:U:.txt */
96 /* Verify directory. U:O:A:u:o:a:/ */
101 /* Verify regular file. U:O:A:u:o:a:/("Test" in Japanese).txt */
107 /* Verify regular file. ("Test" in Japanese)/a:o:u:A:O:U:.txt */
113 /* Verify directory. ("Test" in Japanese)/ */
118 /* Verify regular file. a:o:u:A:O:U:.txt */
123 /* End of archive. */
126 /* Verify archive format. */
130 /* Close the archive. */
135 DEFINE_TEST(test_read_format_lha_filename_UTF16)
137 /* A sample file was created with Unlha32.dll. */
138 const char *refname = "test_read_format_lha_filename_utf16.lzh";