For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > October 2007 > Problems with character encoding









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problems with character encoding
Thodoris

2007-10-16, 7:03 pm

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 gr 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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com