def test_file_utf16le_utf16be(utf16le_dir, utf16be_dir): kconv.convert_file(utf16le_dir, TEMP_DIR, "utf16le", "utf16be") file_diff(TEMP_DIR, utf16be_dir)
def test_file_euckr_utf16be(euckr_dir, utf16be_dir): kconv.convert_file(euckr_dir, TEMP_DIR, "euckr", "utf16be") file_diff(TEMP_DIR, utf16be_dir)
def test_file_utf16le_euckr(utf16le_dir, euckr_dir): kconv.convert_file(utf16le_dir, TEMP_DIR, "utf16le", "euckr") file_diff(TEMP_DIR, euckr_dir)
def test_file_euckr_utf8(euckr_dir, utf8_dir): kconv.convert_file(euckr_dir, TEMP_DIR, "euckr", "utf8bom") file_diff(TEMP_DIR, utf8_dir)