[Tep-j-general] Re: sjisでの設置方法

Zurück zum Archiv-Index

yukai****@u01***** yukai****@u01*****
2004年 11月 17日 (水) 15:56:04 JST


$B;38}$G$9!#(B
$B%"%I%P%$%9$"$j$,$H$&$4$6$$$^$9!d$O$^$@$5$s(B

> $B$^$!!V%9%/%j%W%H$r(BSJIS$B2=$7$?$$!W>l9g$O%3%l$8$cBLL\$G$9$1$I!#(B

$B$=$b$=$b!"E9L>$Ky9$H$$$&J8;z$,4^$^$l$F$$$?$j!"(B
$B;3yu$H$$$&?M$r;3:j$G$O$J$/$=$N$^$^$N4A;z$rMxMQ$7$?$$(B

$B$H$$$&%K!<%:$+$i!"!V(Bphp$B%U%!%$%k$,(BEUC$B$G$O2=$1$F$7$^$&!W$N$,!"(B
$B=PH/E@$G$7$?!#(B
$B!t$G$9$N$G!"(Bsjis$B$K$3$@$o$j$O$J$/!"(Butf-8$B$G$b$$$$$o$1$G$9!#(B

> http://de3.php.net/manual/ja/ref.mbstring.php
$B$O3NG'$5$;$F$$$?$@$-$^$7$?!#(B
$B!t%^%K%e%"%k$O=OFI$7$J$$$H;O$^$j$^$;$s$M!#!#!#(B

$B$3$A$i$N @ _Dj$I$*$j$G!"$[$H$s$I$&$^$/$$$-$^$7$?$,!"(B
$B;3yu$H$$$&%f!<%6$rDI2C$9$k$H!"yu$,>C$($F$7$^$C$?$j$7$^$9!#(B

$B$^$?!"ETEY(Beuc<->sjis$B$NJQ49$r$+$1$k$N$b(B
$B%5!<%P%j%=!<%9$,$b$C$?$$$J$$$N$G!"(B
$BFbIt%3!<%I(B	utf-8
php$B%U%!%$%k(B	utf-8
$B$GE}0l$9$k$3$H$K$7$^$7$?!#(B
$B!t%a!<%k$O(Bsjis$B$K$7$h$&$+G:$s$G$$$^$9!#(B

$B$?$@!"(Bjapanese.php$B$G(B
define('DATE_FORMAT_LONG', '%Y$BG/(B%B%e$BF|(B %A'); // this is used for strftime()
$B$N7?;XDj$7$F$$$kF|IU$NItJ,$,J8;z2=$1$7$F$7$^$$$^$9!#(B

mysql$B$O!"(Butf-8$B$N07$$$,$3$J$l$F$$$k$H$$$&(B
4.1.x$B7O$K%"%C%W$7$h$&$+D4::Cf$G$9!#(B

> > $B!&(Bmysql		Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)
> > 	my.cnf$B$N%3!<%I @ _Dj(B
> > 	default-character-set=sjis
> > 	default-character-set=sjis
> > 	default-character-set=sjis
> 
> $B$3$l$O(B[client][mysql][mysqld]$B$N3F%;%/%7%g%s$K=q$$$F$k$C$F0UL#$N#3O"BG$J(B
> $B$s$G$7$g$+!)(B
> 
> $B!VI=!W2=$1$O!V(BMySQL$B$GJ8;z%3!<%I$r @ _Dj$7$F$$$J$$!W>l9g$N>I>u$H$7$FNI$/J9(B
> $B$/%O%J%7$G$9$,!"J8;z%3!<%I<+BN$O @ _Dj$5$l$F$k$C$F$3$H$J$s$G$9$M!)(B
> 
> my.cnf$B$N(B[mysqld]$B%;%/%7%g%s$K!J$U$D!<%;%C%H$G @ _Dj$9$k!K(B
> language=/usr/share/mysql/japanese/
> $B$_$?$$$J;XDj$OF~$C$F$k$s$G$7$g$+!)(B

$B2<5-$N$h$&$J @ _Dj$G!"(B
> language=/usr/share/mysql/japanese/
$B$N5-:\$O$7$F$$$^$;$s!#(B
$B;n$7$K5-=R$7$^$7$?$,!"5sF0$OJQ$o$j$^$;$s$G$7$?!#(B
$B!t(Butf-8$B2=$7$?$"$H$O!"(Bsjis->ujis$B$KLa$7$^$7$?$,!#(B

[mysql]
default-character-set=sjis

[mysqldump]
default-character-set=sjis

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
default-character-set=sjis

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


On Mon, 15 Nov 2004 11:40:19 +0900
hamada <bungu****@leo*****> wrote:

> 
> $B$3$s$K$A$o!#(B
> 
> On Mon, 15 Nov 2004 10:42:42 +0900
> yukai****@u01***** wrote:
> 
> > $B8=:_!"%Z!<%8$N%(%s%3!<%I$r(BShiftJIS$B$G1?MQ$7$?$/(B
> > $B;n9T:x8m$7$F$*$j$^$7$?$,!"(B
> > $B0lItJ8;z2=$1$,H/@8$7$^$9!#(B
> 
> $B!V=PNO$r(Bsjis$B2=$7$?$$!W$@$1$J$i(Bmbstring.encoding_translation$B$rM-8z$K$7$F(B
> mbstring.http_output$B$r(BSJIS$B$K$9$l$P$$$$$N$G$O!)!)(B
> 
> $B!J(Bapplication_top.php$BJU$j$K(Bmb_http_output('SJIS'); $B$C$F<j$b%"%j$+$J!)!K(B
> 
> $B$^$!!V%9%/%j%W%H$r(BSJIS$B2=$7$?$$!W>l9g$O%3%l$8$cBLL\$G$9$1$I!#(B
> 
> > 	mbstring.internal_encoding = SJIS
> 
> $B$"$j$c!)!*(B
> 
> http://de3.php.net/manual/ja/ref.mbstring.php
> 
> > PHP$B$NFbIt%(%s%3!<%G%#%s%0$H$7$F;HMQ2DG=$JJ8;z%(%s%3!<%G%#%s%0$H(B $B;HMQ$G$-$J$$J8;z%(%s%3!<%G%#%s%0$NNc$r0J2<$K<($7$^$9!#(B 
> > 
> > PHP$B$GF0:n$9$kJ8;z%(%s%3!<%G%#%s%0(B: 
> > ISO-8859-*, EUC-JP, UTF-8
> > 
> > PHP$B$GF0:n$7$J$$J8;z%(%s%3!<%G%#%s%0(B:
> > JIS, SJIS
> 
> $B$J$s$G!"$?$7$+FbIt%(%s%3!<%G%#%s%0$O(BEUC$B!J(BFedora$B$J$i(BUTF8$B$+!)!K$G!"=PNO$N(B
> $B$_(BSJIS$B$K$9$Y$-$@$C$?$h$&$K;W$$$^$9!#(B
> 
> > $BCm0U(B: SJIS $B$O!"FI<T$,%Q!<%5(B/$B%3%s%Q%$%i!"J8;z%(%s%3!<%G%#%s%0$HJ8;z%(%s(B 
> > $B%3!<%G%#%s%0$NLdBjE@$K$D$$$F@:DL$7$F$$$J$$8B$jFbIt%(%s%3!<%G%#%s%0$H$7(B
> > $B$F;HMQ$9$k$Y$-$G$O$"$j$^$;$s!#(B 
> 
> $B$@$=!<$G$9!#(B
> 
> $B>\$7$/$O>e5-(Burl$BEy$N%^%K%e%"%k$r$4;2>H$/$@$5$$!#(B
> 
> > $BNc(B 3. SJIS$B%f!<%6MQ$N(Bphp.ini$B$N @ _Dj(B
> > 
> > ;; $B=PNO$N%P%C%U%!%j%s%0$rM-8z$K(B
> > output_buffering     = On
> > 
> > ;; $B=PNO$NJQ49$rM-8z$K$9$k$?$a$K(B mb_output_handler $B$r @ _Dj(B
> > output_handler       = mb_output_handler
> > 
> > ;; HTTP$B%X%C%@(B charset $B$r @ _Dj(B
> > default_charset      = Shift_JIS
> > 
> > ;; $B%G%U%)%k%H$N8 @ 8l$rF|K\8l$K @ _Dj(B
> > mbstring.language = Japanese
> > 
> > ;; HTTP $BF~NOJQ49$rM-8z$K$9$k(B
> > mbstring.encoding_translation = On
> > 
> > ;; HTTP$BF~NO%(%s%3!<%G%#%s%0JQ49$r(Bauto$B$K @ _Dj(B
> > mbstring.http_input  = auto 
> > 
> > ;; SJIS$B$KJQ49(B
> > mbstring.http_output = SJIS    
> > 
> > ;; $BFbIt%(%s%3!<%G%#%s%0$r(BEUC-JP$B$K @ _Dj(B
> > mbstring.internal_encoding = EUC-JP    
> > 
> > ;; $BL58z$JJ8;z$r=PNO$7$J$$(B
> > mbstring.substitute_character = none
> 
> $B",%3%l$H$+8+$k$H!"(BPHP$BB&$O(Bdefault_charset$B$H(Bmbstring.http_output$B$N @ _Dj$@$1(B
> $B$GBP1~$7$F$k$h$&$K8+$($^$9!#!J<+J,$G$d$C$?$3$H$J$$$N$G>\:Y$OITL@!K(B
> 
> > $B!&(Bmysql		Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)
> > 	my.cnf$B$N%3!<%I @ _Dj(B
> > 	default-character-set=sjis
> > 	default-character-set=sjis
> > 	default-character-set=sjis
> 
> $B$3$l$O(B[client][mysql][mysqld]$B$N3F%;%/%7%g%s$K=q$$$F$k$C$F0UL#$N#3O"BG$J(B
> $B$s$G$7$g$+!)(B
> 
> $B!VI=!W2=$1$O!V(BMySQL$B$GJ8;z%3!<%I$r @ _Dj$7$F$$$J$$!W>l9g$N>I>u$H$7$FNI$/J9(B
> $B$/%O%J%7$G$9$,!"J8;z%3!<%I<+BN$O @ _Dj$5$l$F$k$C$F$3$H$J$s$G$9$M!)(B
> 
> my.cnf$B$N(B[mysqld]$B%;%/%7%g%s$K!J$U$D!<%;%C%H$G @ _Dj$9$k!K(B
> 
> language=/usr/share/mysql/japanese/
> 
> $B$_$?$$$J;XDj$OF~$C$F$k$s$G$7$g$+!)(B
> 
> $B$O$^$@(B
> 
> 
> 
> _______________________________________________
> Tep-j-general mailing list
> Tep-j****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/tep-j-general

-- 
 <yukai****@u01*****>




Tep-j-general メーリングリストの案内
Zurück zum Archiv-Index