Changeset 7180 for temp/trunk/data
- Timestamp:
- 2006/11/01 12:10:07 (20 years ago)
- Location:
- temp/trunk/data
- Files:
-
- 5 edited
-
class/GC_SendMail.php (modified) (1 diff)
-
class/SC_Pdf.php (modified) (2 diffs)
-
lib/gdthumb.php (modified) (1 diff)
-
lib/glib.php (modified) (1 diff)
-
lib/slib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/GC_SendMail.php
r7179 r7180 64 64 $this->to = $to; 65 65 $this->subject = Mb_encode_mimeheader($subject); 66 $this->body = mb_convert_encoding( $body, "iso-2022-jp", "CHAR_CODE");66 $this->body = mb_convert_encoding( $body, "iso-2022-jp", CHAR_CODE); 67 67 $this->header = "Mime-Version: 1.0\n"; 68 68 $this->header .= "Content-Type: text/html; charset=iso-2022-jp\n"; -
temp/trunk/data/class/SC_Pdf.php
r7179 r7180 28 28 function SC_Pdf($width = 595, $height = 842, $fontsize = 10) { 29 29 $this->license_key = "B600602-010400-714251-5851C1"; 30 $this->src_code = "CHAR_CODE";30 $this->src_code = CHAR_CODE; 31 31 // UTF-8¤Ç¤Ê¤¤¤È¥Ö¥í¥Ã¥¯Æâ¤Ç²þ¹Ô¤Ç¤¤Ê¤¤¡£ 32 32 $this->dst_code = "UTF-8"; … … 410 410 $end_y = 0; 411 411 } 412 $enc_table = mb_convert_encoding($line, "utf-8", "CHAR_CODE");412 $enc_table = mb_convert_encoding($line, "utf-8", CHAR_CODE); 413 413 414 414 $tf = PDF_create_textflow($this->pdf, $enc_table, $option); -
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.
