koi8u_encoding.phpt 359 B

12345678910111213141516
  1. --TEST--
  2. Exhaustive test of verification and conversion of KOI8-U text
  3. --EXTENSIONS--
  4. mbstring
  5. --SKIPIF--
  6. <?php
  7. if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
  8. ?>
  9. --FILE--
  10. <?php
  11. include('encoding_tests.inc');
  12. testEncodingFromUTF16ConversionTable(__DIR__ . '/data/KOI8-U.txt', 'KOI8-U');
  13. ?>
  14. --EXPECT--
  15. Tested KOI8-U -> UTF-16BE
  16. Tested UTF-16BE -> KOI8-U