summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/koi8u_encoding.phpt
blob: 499009225cdbc967ccdf7f1f48b2c4c662d674d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Exhaustive test of verification and conversion of KOI8-U text
--SKIPIF--
<?php
extension_loaded('mbstring') or die('skip mbstring not available');
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
?>
--FILE--
<?php
include('encoding_tests.inc');
testEncodingFromUTF16ConversionTable(__DIR__ . '/data/KOI8-U.txt', 'KOI8-U');
?>
--EXPECT--
Tested KOI8-U -> UTF-16BE
Tested UTF-16BE -> KOI8-U