Solved

charset in html

Posted on 2011-02-20
4
446 Views
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.

thanks

0
Comment
Question by:gbeaulac
  • 2
4 Comments
 
LVL 4

Expert Comment

by:LAMASE
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
0
 
LVL 4

Accepted Solution

by:
LAMASE earned 250 total points
ID: 34938998
0
 
LVL 82

Assisted Solution

by:leakim971
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) : http://fr.wikipedia.org/wiki/ISO_8859-1
0
 

Author Comment

by:gbeaulac
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?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now