BVV Posted November 9, 2005 Share Posted November 9, 2005 Hello, I'm using oci functions to retrieve data from an Oracle database. When i make an echo of query results, french accents (such as 'é' or 'à') are replaced by characters ('e' or 'a' for instance) without accent. Can anyone help me ? Vincent. Link to comment https://forums.phpfreaks.com/topic/2838-french-accents-problem/ Share on other sites More sharing options...
Honoré Posted November 9, 2005 Share Posted November 9, 2005 Verify the characterset in your database and the characterset in your HTTP Headers. Link to comment https://forums.phpfreaks.com/topic/2838-french-accents-problem/#findComment-9511 Share on other sites More sharing options...
BVV Posted November 10, 2005 Author Share Posted November 10, 2005 Both are good. I'm using iso-8859-1 in HTML pages and I get french accents when I do a query directly on the DB. I just don't get the accents when I do a query using oci PHP functions. Link to comment https://forums.phpfreaks.com/topic/2838-french-accents-problem/#findComment-9513 Share on other sites More sharing options...
BVV Posted November 14, 2005 Author Share Posted November 14, 2005 Actually, I just had to add UTF8 as charset in my ocilogon function. Link to comment https://forums.phpfreaks.com/topic/2838-french-accents-problem/#findComment-9615 Share on other sites More sharing options...
BVV Posted November 29, 2005 Author Share Posted November 29, 2005 This time, I have a problem with accents when I make an INSERT into the database. All accentuated characters are replaced by ¿¿ Thank for your help. Link to comment https://forums.phpfreaks.com/topic/2838-french-accents-problem/#findComment-9937 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.