charset in html

Posted on 2011-02-20
Medium Priority
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
  • 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 1000 total points
ID: 34938998
LVL 83

Assisted Solution

leakim971 earned 1000 total points
ID: 34939039
utf8 is the way to go
or if you don't want utf8 use latin1 (iso 8859-1) : http://fr.wikipedia.org/wiki/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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

624 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