koi8r_encoding.phpt 359 B

12345678910111213141516
  1. --TEST--
  2. Exhaustive test of verification and conversion of KOI8-R 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-R.txt', 'KOI8-R');
  13. ?>
  14. --EXPECT--
  15. Tested KOI8-R -> UTF-16BE
  16. Tested UTF-16BE -> KOI8-R