This is a discussion on double quotes appear as ? on website within the PHP Language forums, part of the PHP Programming Forums category; Hi, I have an Excel file (which is converted to csv by a tool and then uploaded to a MySQL ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have an Excel file (which is converted to csv by a tool and then uploaded to a MySQL database) and then php is used to display the data on the website. In the Excel file i have text fields which has data containing double quotes. They end up appearing at ? question mark on the website. Any idea how to dispaly the quotes Should i be carefull of any other invisible characters in Excel which can mess up the data. Help me will greatly appreciated. Thanks, Nurddin |
|
|||
|
nurddin19@yahoo.ca wrote:
> In the Excel file i have text fields which has data containing double > quotes. They end up appearing at ? question mark on the website. Any > idea how to dispaly the quotes Those are "smart quotes" :( Read http://www.fourmilab.ch/webtools/demoroniser/ and http://brent.epicserve.com/blog.php?id=20 or google for "smart quotes" > Should i be carefull of any other invisible characters in Excel which > can mess up the data. Try viewing the generated file within a DOS/Command Prompt window: C:\> cd wherever C:\wherever> type file.csv | more if I remember correctly. -- Mail to my "From:" address is readable by all at http://www.dodgeit.com/ == ** ## !! ------------------------------------------------ !! ## ** == TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>) may bypass my spam filter. If it does, I may reply from another address! |