473,686 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

French Accents missing problem

1 New Member
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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="include/showartical.js" type="text/javascript" language="javas cript" > </script>
[/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
Mar 20 '07 #1
1 3050
16,027 Recognized Expert Moderator MVP
Expand|Select|Wrap|Line Numbers
  1. xmlHttp.setRequestHeader("content-type","text/html; charset=iso-8859-1");
Feb 26 '08 #2

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

Similar topics

by: Salgoud Dell | last post by:
I have a VB6 application running on a French computer using Windows ME. The app doesn't work the same way as it does when running on an English Windows OS. The main issue I have, that I can't seem to overcome, is that the english text font size my program thinks is available doesn't seem to be there. Although a line of text printed on a US Windows machine looks fine, when it is printed from this French computer the tabs are over written...
by: c w | last post by:
Can anyone point me in the right direction? Using Oracle 9i, Pro*C and Excel. I am trying to print french accents from the Oracle DB using Pro*C to extract the necessary info and sent the result to Excel but at the moment I cannot get the accents to show in Excel. The NLS_LANG is America. Any help would be appreciated. Thanks. Colin
by: Richard | last post by:
Hello, since we migrated to Framework 1.1, we've got many errors because of accents in comments into the web.config. The error we received is : "There is an invalid character in the given encoding. Line 25, position 20" This corresponds to a comment which contains a "à". When we remove this character, it works fine.
by: yearTiger2002 | last post by:
Our company's back end database server does not handle french accentuated characters well. We need to replace those characters with english letters when validating the form inputs. Any suggestions? I've never delt with foreign languages before...any help greatly apprieciated!
by: Alt255 | last post by:
I've looked everywhere for a solution and can't find one. We have french descriptions in our Oracle data warehouse that I need to use if the client is flag as speaking french. Through SQL/PLUS I can see the umlauts (accents) like the letter é. But MS Access mixes them up with another character. I have set my computers language to English(Canadian) and ever French(Canadian), nothing changes. I will not parse every word to test for the...
by: bss | last post by:
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. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
by: rvenable | last post by:
Hi everyone, I'm new to this forum and I hope I'm in the right one. I have a question regarding MS Index server to search for french accent characters. I have a search engine for our website that uses MS Index Server and it works great but it doesn't find any results for searches that contain french accented characters. If I'm searching for "élément"...it doesn't find anything because the page uses html codes for accents and this word...
by: Amy L. | last post by:
I am at an absolute loss on what is going on here. I have a text file with some Spanish writing. Some of the characters have accents. I have not found anyway to read this text file and echo the output to the console showing the accents. I have tried using UTF-8 but it does not like the accent characters. It basically converts Añoro esta situación
by: LittleLeopard | last post by:
Hi, I hope somebody can help me. I’m working on this website English/Portuguese and for example on this page http://www.goulartfilmes.com/en//IvyGoulart/tabid/54/Default.aspx we can see the Portuguese accents on the page without any problems, but if click on the pictures, where I have names in Portuguese with accents (example “The Curator” enlarged photos 3rd pic) Its html+flash+xml and it shows me the funny symbols. I've already checked the xml...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.