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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:51:59+00:00 2026-06-18T11:51:59+00:00

With this: <meta http-equiv=Content-Type content=text/html; charset=utf-8> IE displays properly Chrome displays properly With this:

  • 0

With this:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

IE displays properly
Chrome displays properly

With this:

<meta http-equiv="Content-Type" content="text/html; charset=utf8"> 

(without the – between f and 8)

IE displays èéàä etc. with è$ etc.
Chrome displays properly

Then I have a SQL Connection (database setted with utf8_unicode_ci or ascii_general_ci)

mysqli_set_charset('utf8')

IE and Chrome display èéàäö properly when posting the results

mysqli_set_charset('utf-8')

IE and Chrome display è$ etc. or ????? when posting the results

How about the other browsers?
Why?

  • 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-06-18T11:52:00+00:00Added an answer on June 18, 2026 at 11:52 am

    In the Content-Type meta tag, the valid way is:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    

    The reason Chrome displays properly is because it is more accepting of errors in this case whereas IE requires it to be written properly.

    However it’s different with MySQL. They decided to go with the short names. Here is a list of supported character sets. This is something done server-side, so it won’t matter what browser you are using.

    You can also execute the following query:

    SHOW CHARACTER SET LIKE 'utf%'
    

    Edit:

    Make sure that you are using the same character set to INSERT into your database or this could cause undesired effects when you go to view it again.

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

Sidebar

Related Questions

look at this code, <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8 /> <script> function change() {
I have this string text: <meta http-equiv=Content-Type content=text/html; charset=utf-8> <style type=text/css> body { font-family:
I have this in my header <meta charset=utf-8> <meta http-equiv=Content-type content=text/html; charset=UTF-8 /> and
I have a page with the following meta tag: <meta http-equiv=Content-Type content=text/html; charset=UTF-8 />
I have some code below: <!doctype html> <html lang=en> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8
So this is the code: <script type=text/javascript charset=UTF-8> function loadScript(http://www.qppstudio.net/individualdays/noscroll/2012-08-15.js) { document.write('<script type=text/javascript charset=UTF-8
<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>Remote Control</title> </head> <link rel=stylesheet href=/../.. type=text/css
I have this Haml view: !!! strict %html{:xmlns => http://www.w3.org/1999/xhtml} %head %meta{:content => text/html;
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd> <html> <head> <meta http-equiv=Content-type content=text/html; charset=utf-8
Currently I have this code: <?php echo '<meta name=robots content=noindex>'; $arr = json_decode(file_get_contents(http://media1.clubpenguin.com/play/en/web_service/game_configs/ paper_items.json),true);

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.