Home
last modified time | relevance | path

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

/php-src/ext/mysqli/tests/
H A Dmysqli_real_escape_string_sjis.phpt2 mysqli_real_escape_string() - sjis
9 if (!mysqli_set_charset($link, 'sjis'))
10 die(sprintf("skip Cannot set charset 'sjis'"));
16 var_dump(mysqli_set_charset($link, "sjis"));
H A Dbug54674.phpt23 $link->set_charset('sjis');
/php-src/ext/mbstring/tests/
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_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_substr.phpt13 $sjis = mb_convert_encoding('日本語テキストです。0123456789。', 'SJIS', 'UTF-8');
38 print "1: " . bin2hex(mb_substr($sjis, 0, 3, 'SJIS')) . "\n";
39 print "2: " . bin2hex(mb_substr($sjis, -1, null, 'SJIS')) . "\n";
40 print "3: " . bin2hex(mb_substr($sjis, -5, 3, 'SJIS')) . "\n";
41 print "4: " . bin2hex(mb_substr($sjis, 1, null, 'SJIS')) . "\n";
42 print "5:" . bin2hex(mb_substr($sjis, 10, 0, 'SJIS')) . "\n";
H A Dmb_convert_variables.phpt16 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
24 $s = $sjis;
76 global $sjis, $jis, $euc_jp;
92 global $sjis, $jis, $euc_jp;
H A Dmb_preferred_mime_name.phpt9 $str = mb_preferred_mime_name('sjis-win');
H A Dmb_convert_encoding.phpt12 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
18 $s = bin2hex(mb_convert_encoding($sjis, 'EUC-JP', 'SJIS'));
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_detect_encoding.phpt10 $sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');
35 print("SJIS: " . mb_detect_encoding($sjis, 'SJIS', true) . "\n");
50 print("SJIS: " . mb_detect_encoding($sjis, $a) . "\n");
115 print("SJIS: " . mb_detect_encoding($sjis) . "\n");
/php-src/ext/standard/tests/strings/
H A Dget_html_translation_table_basic9.phpt2 Test get_html_translation_table() function : basic functionality - HTML5 /sjis
/php-src/ext/mysqlnd/
H A Dmysqlnd_charset.c399 static unsigned int mysqlnd_mbcharlen_sjis(const unsigned int sjis) in mysqlnd_mbcharlen_sjis() argument
401 return (valid_sjis_head((zend_uchar)sjis)) ? 2 : 1; in mysqlnd_mbcharlen_sjis()

Completed in 20 milliseconds