Jump to content

Archived

This topic is now archived and is closed to further replies.

BVV

French accents problem

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Verify the characterset in your database and the characterset in your HTTP Headers.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Actually, I just had to add UTF8 as charset in my ocilogon function.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.