Home
last modified time | relevance | path

Searched refs:sjis (Results 1 – 12 of 12) sorted by relevance

/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_real_escape_string_sjis.phpt2 mysqli_real_escape_string() - sjis
14 if (!mysqli_set_charset($link, 'sjis'))
15 die(sprintf("skip Cannot set charset 'sjis'"));
24 var_dump(mysqli_set_charset($link, "sjis"));
H A Dbug54674.phpt24 $link->set_charset('sjis');
/PHP-8.1/ext/mbstring/tests/
H A Dmb_substr.phpt16 $sjis = mb_convert_encoding('日本語テキストです。0123456789。', 'SJIS', 'UTF-8');
41 print "1: " . bin2hex(mb_substr($sjis, 0, 3, 'SJIS')) . "\n";
42 print "2: " . bin2hex(mb_substr($sjis, -1, null, 'SJIS')) . "\n";
43 print "3: " . bin2hex(mb_substr($sjis, -5, 3, 'SJIS')) . "\n";
44 print "4: " . bin2hex(mb_substr($sjis, 1, null, 'SJIS')) . "\n";
45 print "5:" . bin2hex(mb_substr($sjis, 10, 0, 'SJIS')) . "\n";
H A Dsjis2004_encoding.phpt25 $sjis = ($bytes < 256) ? chr($bytes) : pack('n', $bytes);
27 $validChars[$sjis] = pack('NN', $codepoint1, $codepoint2);
34 $validChars[$sjis] = pack('N', $codepoint1);
36 $fromUnicode[pack('n', $codepoint1)] = $sjis;
H A Dmb_convert_variables.phpt16 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
24 $s = $sjis;
81 global $sjis, $jis, $euc_jp;
97 global $sjis, $jis, $euc_jp;
H A Dmb_strlen.phpt29 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP');
30 print mb_strlen($sjis,'SJIS') . "\n";
32 print strlen($sjis) . "\n";
H A Dmb_preferred_mime_name.phpt9 $str = mb_preferred_mime_name('sjis-win');
H A Dsjis_mobile_encodings.phpt216 $sjis = chr($hiBits + 0x81);
218 $sjis = chr($hiBits - 31 + 0xE0);
222 return $sjis . chr($ten + 0x40);
224 return $sjis . chr($ten - 63 + 0x80);
226 return $sjis . chr($ten + 0x9F);
232 $sjis = shiftJISEncode($ku, $ten);
233 if (isset($sbEmoji[$sjis])) {
235 $unicode = $softbank[$sjis];
H A Dmb_convert_encoding.phpt12 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
18 $s = bin2hex(mb_convert_encoding($sjis, 'EUC-JP', 'SJIS'));
H A Dmb_detect_encoding.phpt10 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
22 print("SJIS: " . mb_detect_encoding($sjis, 'SJIS') . "\n");
34 print("SJIS: " . mb_detect_encoding($sjis, $a) . "\n");
80 print("SJIS: " . mb_detect_encoding($sjis) . "\n");
/PHP-8.1/ext/standard/tests/strings/
H A Dget_html_translation_table_basic9.phpt2 Test get_html_translation_table() function : basic functionality - HTML5 /sjis
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_charset.c338 static unsigned int mysqlnd_mbcharlen_sjis(const unsigned int sjis) in mysqlnd_mbcharlen_sjis() argument
340 return (valid_sjis_head((zend_uchar)sjis)) ? 2 : 1; in mysqlnd_mbcharlen_sjis()

Completed in 14 milliseconds