Solved

Forms Input Data - International Characters

Posted on 1997-12-10
1
144 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
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…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

856 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