RE: French character string encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Per Jessen [mailto:per@xxxxxxxxxxxx] 
Sent: 24 April 2008 18:26
To: php-general@xxxxxxxxxxxxx
Subject: Re:  French character string encoding

Angelo Zanetti wrote:

> Hi all,
> 
> If I have the following French character : �
> 
> And I want to display it properly, IE: how it is meant to be displayed
> as the proper french character, which encoding do I need to use?
> 
> Or is there a string function which can convert this to the correct
> character?

Your � didn't display properly at all - I tried ISO-8859-1 and
UTF8. 


/Per Jessen, Zürich


Hi Per that?s the problem I am having, this is how data from a project I
inherited is saved in the DB and I cant get it to show. 

However I get normal data eg: ème est très haute. To show if its saved like
that in the DB, I just do: 

echo utf8_encode("ème est très haute.");

and it works well. Is there anyway you think I can get the data in the DB to
format correctly perhaps using some sort of string command?

Thanks for your help again.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux