Changeset 7180 for temp/trunk/data/lib
- Timestamp:
- 2006/11/01 12:10:07 (20 years ago)
- Location:
- temp/trunk/data/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/gdthumb.php
r7179 r7180 40 40 list($Ck, $Msg) = $objg->Main($_GET["path"], $_GET["mw"], $_GET["mh"]); 41 41 if(!$Ck) { // ¥¨¥é¡¼¤Î¾ì¹ç 42 header("Content-Type: text/html; charset= CHAR_CODE");42 header("Content-Type: text/html; charset=" . CHAR_CODE); 43 43 print $Msg; 44 44 } -
temp/trunk/data/lib/glib.php
r7179 r7180 23 23 24 24 $return = $header.$contents; 25 if (mb_detect_encoding($return) == 'CHAR_CODE'){ //ʸ»ú¥³¡¼¥ÉÊÑ´¹26 $return = mb_convert_encoding($return,'SJIS', 'CHAR_CODE');25 if (mb_detect_encoding($return) == CHAR_CODE){ //ʸ»ú¥³¡¼¥ÉÊÑ´¹ 26 $return = mb_convert_encoding($return,'SJIS',CHAR_CODE); 27 27 $return = str_replace( array( "\r\n", "\r" ), "\n", $return); // ²þ¹ÔÊýË¡¤ÎÅý°ì 28 28 } -
temp/trunk/data/lib/slib.php
r7179 r7180 130 130 global $GLOBAL_ERR; 131 131 if($GLOBAL_ERR == "") { 132 $GLOBAL_ERR = "<meta http-equiv='Content-Type' content='text/html; charset= CHAR_CODE'>\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) == 'CHAR_CODE'){363 $data = i18n_convert($data,'SJIS', 'CHAR_CODE');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() == 'CHAR_CODE'){367 $data = mb_convert_encoding($data,'SJIS', 'CHAR_CODE');366 if (mb_internal_encoding() == CHAR_CODE){ 367 $data = mb_convert_encoding($data,'SJIS',CHAR_CODE); 368 368 } 369 369
Note: See TracChangeset
for help on using the changeset viewer.
