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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting selected value using Jquery 3 20
Table doesn't show the lines! 3 23
How to pass values to HTML-5 attribute dynamically? 24 44
web page freezes after ajax post 7 43
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
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 …

761 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