Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Japanese Kanji in forms and passing via POST
Old 06-16-2011, 02:46 AM Japanese Kanji in forms and passing via POST
Extreme Talker

Posts: 199
Trades: 0
I hope this question is in the right forum. I figured since the end result is a PHP result it fits here.

I have a normal HTML form. In it are text fields. Some of my customers will be filling the form with Kanji and Katakana characters. The form shows as filling fine, but when submitted, the returning POST values are empty. I have checked all over the web and i just cant seem to find anything about what I'm missing.

I do have meta tag
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Any help is much appreciated. Thanks.
empiresolutions is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-17-2011, 09:09 AM Re: Japanese Kanji in forms and passing via POST
King Spam Talker

Posts: 1,090
Name: Paul W
Trades: 0
Look at accept-charset attribute of form tag.
__________________
Great music:
Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Old 07-03-2011, 08:38 PM Re: Japanese Kanji in forms and passing via POST
explozive's Avatar
Novice Talker

Posts: 10
Trades: 0
First do a dump of _REQUEST at the very very beginning of your application and see if your data is there. Server should not care what data u send unless u have some specific security layers in there.
__________________
explozive.com :: Open Source PHP Framework
Please login or register to view this content. Registration is FREE

website4realty.com :: Real Estate Website and Mobile Platform Engine
Free and Open Source
Please login or register to view this content. Registration is FREE
explozive is offline
Reply With Quote
View Public Profile
 
Old 07-07-2011, 01:01 AM Re: Japanese Kanji in forms and passing via POST
TWD
TWD's Avatar
King Spam Talker

Posts: 1,296
Trades: 0
Have you tried using PHPs htmlentities function with your POST
e.g.

Code:
<?php

echo htmlentities($_POST['comment'], ENT_QUOTES, 'UTF-8');

?>
http://php.net/manual/en/function.htmlentities.php
__________________

Please login or register to view this content. Registration is FREE
"Order a PEBBLE Smart Watch for Bluetooth connection to your iPhone or Android" - 100% Waterproof - 7+ days Battery Charge - High Res Outdoor Readable - Vibrating Alert - Incoming Caller ID
TWD is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Japanese Kanji in forms and passing via POST
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24957 seconds with 11 queries