469,647 Members | 1,803 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

French Accents missing problem

Dear All,

I have developing a French website using PHP & Ajax. In that I tried to display some French texts from mysql database using Ajax. Form local I got the text from db with
Correct accents but in online French accents are missing. The text displays like this “de r?isation pour regroup?a majorit?es “. I declared following code in the head section of the file.

[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="include/showartical.js" type="text/javascript" language="javascript" > </script>
</head>
[/HTML]When i display the text with out using Ajax I get the French text perfectly.

Please help me how to display French text without missing any accents using PHP & Ajax.

With Regards
Ashok
Mar 20 '07 #1
1 2645
acoder
16,027 Expert Mod 8TB
Expand|Select|Wrap|Line Numbers
  1. xmlHttp.setRequestHeader("content-type","text/html; charset=iso-8859-1");
Feb 26 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by c w | last post: by
2 posts views Thread by yearTiger2002 | last post: by
3 posts views Thread by Alt255 | last post: by
3 posts views Thread by bss | last post: by
5 posts views Thread by Amy L. | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.