[PHP-users 22122]オラクルデータが文字化け
Hoo
matsunaga @ optpia.co.jp
2004年 6月 10日 (木) 10:17:36 JST
$B$O$8$a$^$7$F!"(BHoo$B$G$9!#(B
PHP$B$G(BOracle$B$N%G!<%?$rI=<($5$;$F$$$^$9!#(B
$BDL>o$NF|K\8l$O @ 5>o$KI=<($5$l$k$N$G$9$,!"(B
$B-!$d-"$J$I$NFC<lJ8;z$,%G!<%?$K3JG<$5$l$F$$$k$H(B
$BJ8;z2=$1$7$F$7$^$$$^$9!#(B
$BNc$($P!"!I%F%9%H-!!I$H$$$&%G!<%?$,(B
$B!!!!!!!!!I%F%9%H!)!I$H$$$&Iw$K-!$,$P$1$F$7$^$$$^$9!#(B
Access$B$J$I$+$i$O @ 5>o$KI=<($5$l$^$9$,!"(BPHP$B$rDL$9$H(B
$B>e5-$N$h$&$K2=$1$F$7$^$$$^$9(B
<?php echo $B!I%F%9%H-!!I(B?>$BEy$N(BPHP$B$+$iD>@\I=<($5$;$kJ,$K(B
$B$D$$$F$O @ 5>o$KI=<($5$l$^$9$N$G!"(BOracle$B4X?t8GM-$NLdBj$N(B
$B$h$&$J5$$,$7$^$9!#(B
$B>e5-!"BP:v$,$"$l$P65$($F$$$?$@$-$?$$$N$G$9$,!"$h$m$7$/(B
$B$*4j$$CW$7$^$9!#(B
$B!Z(BPHP$B$N%3!<%I![(B
$conn = OCILogon($B%f!<%6(BID, $B%Q%9%o!<%I(B, SID);
$stmt = OCIParse($conn,SQL$BJ8;zNs(B);
OCIExecute($stmt);
$ncols = OCINumCols($stmt);
OCIFetch($stmt);
echo OCIResult($stmt, $B9`L\L>(B);
$B!Z4D6-![(B
Database Server:
Oracle8i
WebServer:
miracle Linux V2.1
apache 1.3.26
PHP 4.0.6
Oracle 9i Client 9.2.0
PHP-users メーリングリストの案内