���ׂăJ�^�J�i���ǂ������ׂ�

UTF-8

if(preg_match("/^[�@-�S]+$/u",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

UTF-8 �R�[�h�\�L

if(preg_match("/^(¥xe3¥x82[¥xa1-¥xbf]|¥xe3¥x83[¥x80-¥xbe])+$/u",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

UTF�ł́A�C���q�w u �x���‚��Ȃ��ƁA�u�_�v��F���ł��Ȃ����Ƃ�����܂��B
(�C���q�w i �x�Ȃǂ����킹�Â����Ƃ�)

EUC-JP �R�[�h�\�L

if(preg_match("/^(¥xa5[¥xa1-¥xf6]|¥xa1[¥xb3¥xb4¥xbc])+$/",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

EUC-JP �ł́A�����͈͎̔w�������Ɛ������F���ł��܂���B

Shift-JIS

if(preg_match("/^[�@-���R�S�[]+$/",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

Shift-JIS �R�[�h�\�L

if(preg_match("/^(¥x83[¥x40-¥x96]|¥x81[¥x52¥x53¥x5b])+$/",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

Shift-JIS �ł́A�R�[�h�͈͎̔w���¥x5b���g�p����Ɖ��L�̂悤�ȃG���[���o�܂��B
Warning: Compilation failed: missing terminating ] for character class at offset 1
�����¥x5b���A�w [ �x���Ӗ����邽�߂ł��B¥�ŃG�X�P�[�v���A¥¥x5b�Ƃ��邱�Ƃʼn���ł��܂��B

UTF-8 EUC-JP Shift-JIS����

if(preg_match("/^(¥xe3¥x82[¥xa1-¥xbf]|¥xe3¥x83[¥x80-¥xbe]|".
                  "¥xa5[¥xa1-¥xf6]|¥xa1[¥xb3¥xb4¥xbc]|".
                  "¥x83[¥x40-¥x96]|¥x81[¥x52¥x53¥x5b])+$/",$str)){
  echo "�J�^�J�i�݂̂ł�";
}else{
  echo "�J�^�J�i�݂̂ł͂���܂���";
}

�����R�[�h�\����UTF�����𔲐�����ƕ����R�[�h�͈ȉ��ł��B

Unicode S-JIS   JIS     EUC-JP  ����
0x30A1  0x8340  0x2521  0xA5A1  �@
0x30A2  0x8341  0x2522  0xA5A2  �A
0x30A3  0x8342  0x2523  0xA5A3  �B
0x30A4  0x8343  0x2524  0xA5A4  �C
0x30A5  0x8344  0x2525  0xA5A5  �D
0x30A6  0x8345  0x2526  0xA5A6  �E
0x30A7  0x8346  0x2527  0xA5A7  �F
0x30A8  0x8347  0x2528  0xA5A8  �G
0x30A9  0x8348  0x2529  0xA5A9  �H
0x30AA  0x8349  0x252A  0xA5AA  �I
0x30AB  0x834A  0x252B  0xA5AB  �J
0x30AC  0x834B  0x252C  0xA5AC  �K
0x30AD  0x834C  0x252D  0xA5AD  �L
.........
0x30EC  0x838C  0x256C  0xA5EC  ��
0x30ED  0x838D  0x256D  0xA5ED  ��
0x30EE  0x838E  0x256E  0xA5EE  ��
0x30EF  0x838F  0x256F  0xA5EF  ��
0x30F0  0x8390  0x2570  0xA5F0  ��
0x30F1  0x8391  0x2571  0xA5F1  ��
0x30F2  0x8392  0x2572  0xA5F2  ��
0x30F3  0x8393  0x2573  0xA5F3  ��
0x30F4  0x8394  0x2574  0xA5F4  ��
0x30F5  0x8395  0x2575  0xA5F5  ��
0x30F6  0x8396  0x2576  0xA5F6  ��
0x30FB  0x8145  0x2126  0xA1A6  �E�i���_�j
0x30FC  0x815B  0x213C  0xA1BC  �[�i�����L���j
0x30FD  0x8152  0x2133  0xA1B3  �R�i�Љ����J�Ԃ��L���j
0x30FE  0x8153  0x2134  0xA1B4  �S�i�Љ����J�Ԃ��L�����_�j

UTF�ȊO�͕��т� ������ƈႢ�܂��B

S-JIS   JIS     EUC-JP  Unicode ����
0x8152  0x2133  0xA1B3  0x30FD  %81R      �R�i�Љ����J�Ԃ��L���j
0x8153  0x2134  0xA1B4  0x30FE  %81S      �S�i�Љ����J�Ԃ��L�����_�j

0x815B  0x213C  0xA1BC  0x30FC  %81%5B    �[�i�����L���j

0x8340  0x2521  0xA5A1  0x30A1  %83%40    �@
0x8341  0x2522  0xA5A2  0x30A2  %83A      �A
0x8342  0x2523  0xA5A3  0x30A3  %83B      �B
0x8343  0x2524  0xA5A4  0x30A4  %83C      �C
0x8344  0x2525  0xA5A5  0x30A5  %83D      �D
0x8345  0x2526  0xA5A6  0x30A6  %83E      �E
0x8346  0x2527  0xA5A7  0x30A7  %83F      �F
0x8347  0x2528  0xA5A8  0x30A8  %83G      �G
0x8348  0x2529  0xA5A9  0x30A9  %83H      �H
0x8349  0x252A  0xA5AA  0x30AA  %83I      �I
0x834A  0x252B  0xA5AB  0x30AB  %83J      �J
0x834B  0x252C  0xA5AC  0x30AC  %83K      �K
0x834C  0x252D  0xA5AD  0x30AD  %83L      �L
.........
0x838C  0x256C  0xA5EC  0x30EC  %83%8C    ��
0x838D  0x256D  0xA5ED  0x30ED  %83%8D    ��
0x838E  0x256E  0xA5EE  0x30EE  %83%8E    ��
0x838F  0x256F  0xA5EF  0x30EF  %83%8F    ��
0x8390  0x2570  0xA5F0  0x30F0  %83%90    ��
0x8391  0x2571  0xA5F1  0x30F1  %83%91    ��
0x8392  0x2572  0xA5F2  0x30F2  %83%92    ��
0x8393  0x2573  0xA5F3  0x30F3  %83%93    ��
0x8394  0x2574  0xA5F4  0x30F4  %83%94    ��
0x8395  0x2575  0xA5F5  0x30F5  %83%95    ��
0x8396  0x2576  0xA5F6  0x30F6  %83%96    ��

UTC�iUnicode Technical Committee�j�̒�`����Unicode�����̃u���b�N�͈̔��͈ȉ��ł��B

�����̎���u���b�N�͈̔́i16�i�\�L�j�u���b�N��
�Ђ炪��3040 �` 309FHiragana
�J�^�J�i30A0 �` 30FFKatakana
����4E00 �` 9FFFCJK Unified Ideographs

�֘A�L��

�X�|���T�[�����N

assets�t�H���_�̃t�@�C�����������@ AssetManager

�z�[���y�[�W����Eweb�n�A�v���n�̐���Č���W���ł��B

��ɖ߂�