Encoding problem (french character) in txt file on Mac OS X
| From: | Thierry Santacana | Date: | Thu, 11 Sep 2003 05:08:56 +0000 |
| Subject: | Encoding problem (french character) in txt file on Mac OS X | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162248@lists.php.net to get a copy of this message | ||
Hi,
I've tried several things but I can't get out of this issue !
I have this meta-tag in my header :
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
When I write some strings with french accentuated characters in a .txt file with fwrite(), then when I open the file with SimpleText or TextEdit (Mac OS X 10.2) or even with pico and emacs, I lose my accents ! "é" become "È" and so on...
I run php 4.3.0 on Mac OS X 10.2.6.
Help will be really appreciated ! Thanks
Cordialement,
===============================================================
Project:Omega - La référence pour les développeurs Mac OS X et plus encore !
http://www.projectOmega.org/fr - AIM : thsantac - ICQ : 147837316
===============================================================