1--TEST-- 2Exhaustive test of verification and conversion of KOI8-U 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/KOI8-U.txt', 'KOI8-U'); 13/* Try replacement character which cannot be encoded in KOI8-U; ? will be used instead */ 14mb_substitute_character(0x1234); 15convertInvalidString("\x23\x45", '?', 'UTF-16BE', 'KOI8-U'); 16?> 17--EXPECT-- 18Tested KOI8-U -> UTF-16BE 19Tested UTF-16BE -> KOI8-U 20