PHP Nasıl doğru charset kullanmak yapmak için?

0 Cevap php

I'm making a KSSN (Korean ID Number) checker in PHP using a MySQL database. I check if it is working by using a file_get_contents call to an external site.

The problem is that the requests (with Hangul/Korean characters in them) are using the wrong charset. When I echo the string, the Korean characters just get replaced by question marks.

How can I make it to use Korean? Should I change anything in the database too? What should be the charset?

PHP Kaynak ve SQL Döküm: http://www.multiupload.com/RJ93RASZ31

NOT: Ben CLI, Apache (HTML) değil kullanıyorum.

0 Cevap