• Resolved sugicloud

    (@sugicloud)


    Hi,

    I’m making a site in french and for some reason the text displayed is weird.

    The words is suppose to say Anévrisme de l’aorte Abdominale

    But it then come out as An%C3%A9vrisme De L\’aorte Abdominale

    I’ve check the mysql setting, the collation is already in utf8_general_ci

    I’ve also implemented
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    in <head> but no result.

    Could somebody please help how to solve this problem?

    Btw, in mysql it is already inputed exactly as Anévrisme de l'aorte Abdominale

    It’s just that when we call it it gives me An%C3%A9vrisme De L\’aorte Abdominale

Viewing 1 replies (of 1 total)
  • Thread Starter sugicloud

    (@sugicloud)

    Solved, just use urldecode

    <?php
    echo urldecode("Ant%C3%B4nio+Carlos+Jobim");
    ?>

    it would become

    Ant?nio Carlos Jobim

Viewing 1 replies (of 1 total)
  • The topic ‘encoding isn't correct – UTF error?’ is closed to new replies.