Solved

Forms Input Data - International Characters

Posted on 1997-12-10
1
147 Views
Last Modified: 2013-12-25
How is forms data passed back from browsers set to use some
of the international two-byte character encodings. For instance, if a user in Japan using a browser inputs data into a form using Japanese characters, how will my application here see the data? Is there a way I can tell what character set (encoding) is being used?
0
Comment
Question by:fhattyar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
ID: 1831613
No, you can not tell.

For example, if the user input Chinese, a character may appear as 0xb40xA6, the browser will treat it like any binary data, simply urlencode it and send to your server.  From your CGI, after you decode, you will get back to 0xb40xA6, that is all you have.  You cgi should decide what to do with it.

I think normally you need not care.  Anyway, your cgi is not going to understand the meaning of input, right?  Unless you are doing translation.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question