charset in html

Posted on 2011-02-20
Last Modified: 2012-05-11
Can you tell me what charset I can set for my documents doctype so that french and spanish text be displayed properly with accents.


Question by:gbeaulac
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
  • 2

Expert Comment

ID: 34938986
In html you should encode special chars, like é àand so on. Charset is the minor problem , i think. However you can try with UTF8

Accepted Solution

LAMASE earned 250 total points
ID: 34938998
LVL 82

Assisted Solution

leakim971 earned 250 total points
ID: 34939039
utf8 is the way to go
or if you don't want utf8 use latin1 (iso 8859-1) :

Author Comment

ID: 34939073
By the way, I did not have this confilct before I implemented jQUery and Ajax to load my pages. I was using the ISO-8859-1 , but now the accents are gone. Any difference there?

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

740 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