double quotes appear as ? on website

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nurddin19@yahoo.ca

    double quotes appear as ? on website

    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

  • Pedro Graca

    #2
    Re: double quotes appear as ? on website

    nurddin19@yahoo .ca wrote:[color=blue]
    > 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[/color]

    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"
    [color=blue]
    > Should i be carefull of any other invisible characters in Excel which
    > can mess up the data.[/color]

    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!

    Comment

    Working...