1--TEST--
2Exhaustive test of verification and conversion of CP949 (UHC) text
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
8?>
9--FILE--
10<?php
11include('encoding_tests.inc');
12testEncodingFromUTF16ConversionTable(__DIR__ . '/data/CP949.txt', 'UHC');
13
14// Test "long" illegal character markers
15mb_substitute_character("long");
16convertInvalidString("\x80", "%", "UHC", "UTF-8");
17convertInvalidString("\xA7\xF0", "%", "UHC", "UTF-8");
18?>
19--EXPECT--
20Tested UHC -> UTF-16BE
21Tested UTF-16BE -> UHC
22