Display results with ä, ö, ü, ß

Display results with ä, ö, ü, ß

SeppelchenSeppelchen Posts: 69Questions: 25Answers: 1

Hello we try to display results with ä, ö, ü and ß on that page: http://logbook.klarlichter.de/flightmanager/flights-overview-flighttime.php

But it seems that it wont work. Could anybody help?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 55,882Questions: 1Answers: 8,835 Site admin
    edited July 2014 Answer ✓

    I see an ö and ü on your page no problem.

    Things to check:

    • Is the page UTF8? (I think it probably is, but the page isn't valid HTML, to odd things might happen)
    • Is the database to PHP connection UTF8? You might need to use something like the following for example:
    $db->sql("SET character_set_client=utf8");
    $db->sql("SET character_set_connection=utf8");
    $db->sql("SET character_set_results=utf8");
    
    • Is the database itself UTF8?

    Allan

This discussion has been closed.