Solved

charset in html

Posted on 2011-02-20
4
444 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
Comment Utility
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
Comment Utility
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
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 …

772 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

12 Experts available now in Live!

Get 1:1 Help Now