Possible Duplicate:
UTF-8 all the way through
What my program does, is that on the client side, with the browser's encoding being UTF-8, the client types in some chinese into a textbox. This text is then transferred via jQuery $.post
to my server side. On the server, it is inserted into the database. When I first put it in, it became unreadable text. Next time, I tried to see where it went wrong, and outputted the server copy, and found that it was perfectly fine (perfectly readable Chinese text). So then I figured the problem must occur when the text was inserted into the database, somewhere in the SQL statement.
Is there a way to fix this error?