Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Japanese form processing?


paulrus

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...