paulrus Posted October 22, 2002 Share Posted October 22, 2002 Hi guys - I've set up a couple of forms on our site - one is a survey and one is a product request form. I'm using formmail.php to process the forms, but the problem I'm having is that it can't handle Japanese text - since 99.9999% of our customers are Japanese that creates a problem. Right now we've asked them to write in Japanse using roma-ji (Roman characters phonetically spelling out Japanese words) but that is really inconvinient for the customer. Does anyone know of a form processor that can handle Japanese encoded text? Thanks! Paul Link to comment Share on other sites More sharing options...
Ian-San Posted October 22, 2002 Share Posted October 22, 2002 I use japanese no problem on a webform - see example: http://nowsayit.com/baggu.html I use html for the form and shift_jis for the encoding. The form is processed through a cgi script. All Japanese passes through the form / cgi / western server with no problem, plus my site is of course in Japanese - so I guess that your php form does some string conversions or that you are using some other form of encoding. Note that in theory php cannot handle double-byte characters without first loading mbconvert. However, providing you avoid string conversions etc it should be okay. Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
paulrus Posted October 22, 2002 Author Share Posted October 22, 2002 What CGI are you using to process the forms? Is it one thats included with a standard linux/apache setup? Thanks! Paul Link to comment Share on other sites More sharing options...
Ian-San Posted October 22, 2002 Share Posted October 22, 2002 Paul, yes it is on my Server. Although any cgi should do. I previously used this with no problem: http://www.scriptarchive.com/ Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
paulrus Posted October 23, 2002 Author Share Posted October 23, 2002 Ah yes, but Matt's formmail.cgi is one of the most notorious scripts out there. I've heard that it's responsible for a very large part of the spam that sent over the net because it's so easy to hack. On my old server I would routinely find people attempting to access formmail.cgi on my server (it didn't exist) to send out Viagra ads and other ads for online pharmacies, etc. Be careful with that cgi Paul Link to comment Share on other sites More sharing options...
Ian-San Posted October 23, 2002 Share Posted October 23, 2002 Paul I hadnt heard that - but anyway, why not just rename it? Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.