• Resolved ijlal.hasnain

    (@ijlalhasnain)


    Hey.

    I am facing a very strange problem. The problem is related to displayed non-english (swedish) characters on site. The problem is that some swedish characters like ” ? ” is displaying as weird/black diamond in header section but displays fine in index section.

    If you have a look at
    https://sites.five12apps.com/motorblocket/

    You will see black diamonds in “L?gg till ny annons “. Just couple of line later, the index.php file starts and same text (L?gg till ny annons ) is hardcoded there. There it displays well :S.

    So my markup is like

    <br />
    ///header.php</p>
    <p>L?gg till ny annons L?gg till ny annons </p>
    <p>/////index.php<br />
    get_header();?><br />
    L?gg till ny annons L?gg till ny annons L?gg till ny annons<br />

    I hope i make myself clear.

    Summary is : The text (L?gg till ny annons) hardcoded in header.php outputs black-diamond, but the same text hardcoded in (index.php) displays correctly (same file including header.php with get_heade()).

    Best Regards.

Viewing 1 replies (of 1 total)
  • Thread Starter ijlal.hasnain

    (@ijlalhasnain)

    it seems like header.php was using different unicode normalization. I copy pasted the whole header.php, open a notepad document, paste and save it as header.php.

    everything works fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘A strange/weird problem ? charset characters’ is closed to new replies.