Problems with character encoding

From: Date: Tue, 16 Oct 2007 14:52:46 +0000
Subject: Problems with character encoding
Groups: php.db 
Request: Send a blank email to php-db+get-44223@lists.php.net to get a copy of this message
Hello list,
    I know that what I'm about to ask does not concern databases exclusively but please guys help. I am retrieving all the records from a mysql (myisam) table using PDO and I am trying to write it to an spreadsheet using php. Whenever I use English while writing into the spreadsheet everything works smoothly but when I use greek retrieved from the database nothing seems to do the job. I have used utf8_encode/utf8_encode, iconv and I have just compiled multi-byte encoding into php (mbstring) and used mb_convert_encoding() to convert the encoding but it still doesn't do the trick for me. Does anybody have previous experience concerning charset encoding in order to help me.
Thanks in advance. PS: I am writing in sreadsheet format using Spreadsheet_Excel_Writer pear module* * -- Thodoris

« previous php.db (#44223) next »