[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Forms Input Data - International Characters

Posted on 1997-12-10
1
Medium Priority
?
150 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 100 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

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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…
Suggested Courses

656 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