Solved

Forms Input Data - International Characters

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Interactive Script in Scheduled Task not running 8 51
-OutVariable to Global 1 32
powershell automatic variable for results 21 39
Notepad++ Question 11 26
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 …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
The viewer will learn how to dynamically set the form action using jQuery.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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