korean characters....
Posted by: Benjipie (---.bstnma.east.verizon.net)
Date: December 09, 2009 03:37AM

Hi,

I'm trying to build a database driven site (my first!), so far i have used English in the Mysql database and its been working great. When i've tried to put Korean characters into the database and preview it in a browser all i see are question marks. The browser displays Korean characters from other sites fine but not mine.

The site is encoded in UTF-8 (charset=UTF-8) and so is the database, although i have tried using euckr_korean_ci in both tables and database but i sill have the same problem.

If i do a simple echo in php using Korean characters (without connecting to the database) it works fine. I also have no trouble inserting the korean characters into the database, its just when i try to display them in the browser...

Im using PHP Version 5.3.0
MySQL 5.1.36
(in WAMP)

Thanks for any help....
Ben.

Options: ReplyQuote
Re: korean characters....
Posted by: toumimi (---.111.116-78.rev.gaoland.net)
Date: December 09, 2009 03:50AM

You have to modify your php header about Encoding.
Here is a link where you can find an answer : [www.w3.org]

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: korean characters....
Posted by: Benjipie (---.bstnma.east.verizon.net)
Date: December 09, 2009 04:19AM

Thanks for the reply.

I have modified the header (<?php header('Content-type: text/html; charset=UTF-8'); ?>winking smiley but still have the same problem. Any other ideas?

Thanks again for the help..

Ben.

Options: ReplyQuote


Sorry, only registered users may post in this forum.