Changeset 7179 for temp/trunk/data/lib/slib.php
- Timestamp:
- 2006/11/01 12:02:42 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/lib/slib.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r6713 r7179 130 130 global $GLOBAL_ERR; 131 131 if($GLOBAL_ERR == "") { 132 $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset= EUC-JP'>\n";132 $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset=CHAR_CODE'>\n"; 133 133 } 134 134 $GLOBAL_ERR.= "<table width='100%' border='0' cellspacing='0' cellpadding='0' summary=' '>\n"; … … 360 360 361 361 /* i18n¢· ¤À¤ÈÀµ¾ï¤Ëưºî¤·¤Ê¤¤¤¿¤á¡¢mb¢· ¤ËÊѹ¹ 362 if (i18n_discover_encoding($data) == ' EUC-JP'){363 $data = i18n_convert($data,'SJIS',' EUC-JP');362 if (i18n_discover_encoding($data) == 'CHAR_CODE'){ 363 $data = i18n_convert($data,'SJIS','CHAR_CODE'); 364 364 } 365 365 */ 366 if (mb_internal_encoding() == ' EUC-JP'){367 $data = mb_convert_encoding($data,'SJIS',' EUC-JP');366 if (mb_internal_encoding() == 'CHAR_CODE'){ 367 $data = mb_convert_encoding($data,'SJIS','CHAR_CODE'); 368 368 } 369 369 … … 2150 2150 2151 2151 // PHP¤Îmb_convert_encoding´Ø¿ô¤òSmarty¤Ç¤â»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë 2152 function sf_mb_convert_encoding($str, $encode = ' EUC-JP') {2152 function sf_mb_convert_encoding($str, $encode = 'CHAR_CODE') { 2153 2153 return mb_convert_encoding($str, $encode); 2154 2154 }
Note: See TracChangeset
for help on using the changeset viewer.
