Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6834845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:09:41+00:00 2026-05-26T23:09:41+00:00

Assume I’m on a computer with character set a, and browsing a page with

  • 0

Assume I’m on a computer with character set “a”, and browsing a page with character set “b”, of which “a” and “b” are wildly different character sets. Specifically the character code for a space in “a” is not a space in “b”.

If I type a space into a text input on the page, would the page register it as a space? And, when sent to be processed by the server, would that be processed like a space or another character?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:09:41+00:00Added an answer on May 26, 2026 at 11:09 pm

    Ignore what character set your computer and server are “on”, that doesn’t matter. What matters is the character set of the given HTTP request/response. If you request a resource and the server returns character set “B” then your browser will try to parse the response using character set “B”. Most browsers are able to parse many different character sets regardless of the underlying computer’s current language settings. If your browser doesn’t know about the supplied character set (which would be a rare case, my IE has 34 character sets and my Firefox has 74) then that is specifically undefined. It may guess or it might throw an error, its up to the browser to decide.

    Many (or possibly most) character sets are partly based on ASCII and therefor map the first 127 characters the same way. Even the double-byte ISO/IEC 2022 does. All HTML tags are based on the ASCII set so for these cases the browser might guess at the encoding (some might assume ISO-8859-1) so they should be able to render the structure of the document at least. However some encodings, such as the various flavors of EBCDIC don’t map to ASCII. In some versions the EBCDIC < symbol maps to the ASCII L symbol, so HTML rendering would completely fail and the raw bytes (probably parsed as ISO-8859-1) would be displayed instead.

    So if your browser encounters a SHIFT_JIS document but doesn’t know how to parse the bytes it will probably attempt to parse it using ISO-8859-1. Because the first 127 characters in SHIFT_JIS map the same as in ISO-8859-1 (for the most part), all HTML should render just fine. The text, however, will probably use the browser’s “unknown” character which is sometimes a question mark or some form of boxed character. If this document has a form in it and you start typing in it, the keys on your keyboard will be mapped to what the browser is guessing at, which is once again probably ISO-8859-1. When you hit submit, those characters will be encoded as the “guessed” character set and be sent to the server as such.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Assume the following code where sock is a handle to TCP socket that was
Assume, we've website which can be displayed in several languages. Name for each controller
Assume I have 2 controllers that handle 2 parts of the page - header
Assume I have an Activity which contains two FrameLayouts (let's call them FrameA and
Assume I have a document which uses Unicode in tag names, as for example
Assume we have a replica set with 3 nodes(2 data and one arbiter) A->primary,
Assume I have a code like this: @autoreleasepool { for(int i = 0; i
Assume 32 Bit OS. One memory location in a computer stores how much data?
Assume I have a Class Foo which has many internal variables, only one constructor
Assume I have a string text = A compiler translates code from a source

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.