Re: Looking functions for deal with special characters

From: Date: Sat, 29 Mar 2003 23:55:02 +0000
Subject: Re: Looking functions for deal with special characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141613@lists.php.net to get a copy of this message
Just off the top of my head ...
        Install Spanish language  suport on the Windows machine
        What CodePage are you using?
        Check the Microsoft KB.
Thinking about it a bit more, a plain ascii file may not handle Spanish because (if I remember correctly) it's single byte and represents only char 0 - 127 - what I know as high-ascii goes from 128 - 254 - happy faces and the like, and yes, characters with unlauts and acute or grave accents. If you look at the .csv with a plain text editor, what do you see? No answer - but I hope this helped. Miles Thompson At 10:16 AM 3/28/2003 -0600, ignacio.estrada@cfe.gob.mx wrote:
Hi, I am getting data from a database, containing special characteres (in spanish). After that, I want to write down this data to an ascii file (.csv). When this file is open with excel, the resulting data on cell (strings) does not keep the same special characteres instead of that appear strange characters. Here I want to show the same characters as stored on the database. I am using fput ($fp,"string") to write data to the csv file. Does somebody deal with this ? please let me know. Ignacio Estrada F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#141613) next »