Name: Anonymous 2006-03-08 13:25
Hi there.
My first attempt to handle UTF-8 with php and mysql has failed...
I currently build a small test website and wanted to do a "wakaba/4chan" style BBS and failed again ^_^
Anyway, the main goal is to be able to include some japanese in the pages/posts.
Right now including Japanese in the page is no problem, but when anon is posting on the BBS, PHP seems to send MYSQL some buggy string instead of the user-input.
example:
/l、
(゚、 。 7
l、 ~ヽ
じしf_, )ノ
will produce:
��l�
��、 。 �
�l� ~����
���f_, )�
o_O Mozilla tells me the page encoding IS UTF-8... Any idea?
http://rei.xephon.be/site/bbs/
My first attempt to handle UTF-8 with php and mysql has failed...
I currently build a small test website and wanted to do a "wakaba/4chan" style BBS and failed again ^_^
Anyway, the main goal is to be able to include some japanese in the pages/posts.
Right now including Japanese in the page is no problem, but when anon is posting on the BBS, PHP seems to send MYSQL some buggy string instead of the user-input.
example:
/l、
(゚、 。 7
l、 ~ヽ
じしf_, )ノ
will produce:
��l�
��、 。 �
�l� ~����
���f_, )�
o_O Mozilla tells me the page encoding IS UTF-8... Any idea?
http://rei.xephon.be/site/bbs/