fixed problem with charset between PHP and MySQL