โดย touleg » 28/10/2012 12:44 am
ทำไม PHP ต้องเขียนเยอะแบบนั้นเลยหรอ
ใช้แค่
string iconv ( string $in_charset , string $out_charset , string $str )
iconv("UTF-8", "tis-620", $text)
iconv("tis-620","UTF-8", $text)
แค่นี้ก้ได้แระสำหรับ PHP
ทำไม PHP ต้องเขียนเยอะแบบนั้นเลยหรอ
ใช้แค่
string iconv ( string $in_charset , string $out_charset , string $str )
iconv("UTF-8", "tis-620", $text)
iconv("tis-620","UTF-8", $text)
แค่นี้ก้ได้แระสำหรับ PHP