Jump to content

dongnold

Members
  • Posts

    6
  • Joined

  • Last visited

dongnold's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. dongnold

    PHP and Unicode

    I can still read webpages in chinese. So I don't think it's the problem of windows fonts or browser. I think it's the problem of PHP. When php reads the data from the mysql database, it can't store unicode data.
  2. dongnold

    PHP and Unicode

    The database had everthing coded with UTF-8 already and the characters display perfectly on phpmyadmin. And the charset of the PHP file was also UTF-8 already. But they still remain "?" .
  3. dongnold

    PHP and Unicode

    I have a mysql database that has unicode chinese characters in it. But when I use php to read them out and display them on a webpage, they all become question marks ("?"). The character encoding of the php file is already set to UTF-8. How can I fix this problem?
  4. dongnold

    PHP and Unicode?

    Yeah, I read the documentation.Here is the zip file that has the php.ini, the Access database and my php script:File linkIf you wanna test the script, just put the Access database into the System ODBC under the name "chinese".
  5. dongnold

    PHP and Unicode?

    I have an Access database where data is input in Unicode. But when I use PHP ODBC to display the database on a web page, the chinese characters become a question mark ("?"). I think the problem is the string in php can't handle unicode. I made some modifications to mbstring in php.ini but it didn't change anything. Do you know how to deal with this problem?
×
×
  • Create New...