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 1066761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:03:49+00:00 2026-05-16T20:03:49+00:00

I built form here, When I input utf-8 data to it at firefox 3.6.8

  • 0

I built form here, When I input utf-8 data to it at firefox 3.6.8 it is like this:

but it works fine with IE.8

alt text

It seems that while typing (or filling) the input box, the characters are all uppercase. Just like that you are holding shift and type it.

anyone knows what is the problem with firefox?


edit :

it is a simple form

<form enctype="multipart/form-data" action="print $_SERVER['PHP_SELF'];" method="post" accept-charset="utf-8">

<br><input name="f_name" type="text"><br>

</form>
  • 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-16T20:03:50+00:00Added an answer on May 16, 2026 at 8:03 pm

    Is that what appears when you type in a form field, before submitting anything? Because if so, there is no UTF-8 in the problem. Strings at the web browser side are purely Unicode-based; it’s only when you’re moving them from the browser to the server or back that encoding matters come into play.

    My guess would be a simple font problem. Clearly from your screenshot, Firefox is using a different font to IE, and perhaps that font is one without proper support for features necessary to Arabic like the contextual ligatures that take care of choosing the right glyph variant of each character. Check the stylesheets and use Firebug if necessary to find out what font is being applied to that input.

    accept-charset="utf-8"
    

    is basically no use, because IE handles it wrong. It uses UTF-8 as a fallback encoding (for characters that don’t fit in the page’s current charset) instead of the only encoding.

    To get a form that submits in UTF-8, you must ensure that the page containing the form is served as text/html;charset=utf-8 using a Content-Type header and/or <meta> tag.

    action="print $_SERVER['PHP_SELF'];"
    

    I’m presuming you’ve mis-pasted that and the value is actually in a <?php ... ?> tag, otherwise the form wouldn’t work at all.

    This is an HTML-injection hole, potentially leading to cross-site scripting attacks. You should always HTML-encode strings you are injecting into HTML text content or attribute values, using htmlspecialchars().

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

Sidebar

Related Questions

I have this $data array: (built on a shell, not a form) (debugged here)
My JavaScript code works fine in Firefox, but not in chrome. While in Firefox
So I have a form that's half built here. I have 10 lines, I
I've built an HTML form that sends an email via PHP, but it's giving
I've built a form that pulls in a list of brands from a MYSQL
I have a multi-step order form built in this manner: Step 1: Choose category
I just built a WPF form that contains a ListBox. The ListBox has bound
i have bought a template that have built in contact form problem is that
I built a basic search form that queries one column in one table of
Multiple posts but I'm still stuck...I'm missing something fundamental here. I have a form

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.