Jump to content

Chinese Characters in PHP forms


digip
 Share

Recommended Posts

I installed the Cyberbit fonts so I could see the glyphs on chinese pages and be able to copy and past them properly.

I see them in the Address bar for URLS and all is working fine, but hen I try to use it with a form in PHP it does not interpret the data properly. It returnes the data I put in, and can redisplay the output on the screen, but when doing thigns with the URL, like trying to pull headers off pages, etc, it gets an error and URL not found, meaning it does not pass the characters properly when doing certain functions in PHP. Is this a limitation to PHP or is there something I need to do or turn on to get it to work properly.

Link to comment
Share on other sites

unfortunately php isn't very good with utf-8 (or utf-16, utf-24, or utf-32 for that matter ;))

some functions are unicode aware but not all.

this page seems to be a good resource on how to make php and mysql not puke when they encounter multi-byte characters.

Link to comment
Share on other sites

unfortunately php isn't very good with utf-8 (or utf-16, utf-24, or utf-32 for that matter ;))

some functions are unicode aware but not all.

this page seems to be a good resource on how to make php and mysql not puke when they encounter multi-byte characters.

Thanks, I'll give it a look...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...