Æøå not showing - again :)

Æøå not showing - again :)

bonsakbonsak Posts: 4Questions: 1Answers: 0
edited October 2012 in General
Hi
I'm having the same problem as described in this thread: http://datatables.net/forums/discussion/5362/sorting-with-international-characters/p1 I have a table that i made in Generator and i can't figure out where to put [code]$_GET['sSearch'] = utf8_decode($_GET['sSearch']);[/code] that MrAdam describes in the other thread. I downloaded "Complete package" from Generator.
I tried to search the forum for clues but i cant seem to find anything :)

Cheers
Bonsak

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    With Editor, what you could try doing is adding these lines to the code, after you include the DataTables include file and the 'use' name spaces:

    [code]
    $db->sql("SET character_set_client=utf8");
    $db->sql("SET character_set_connection=utf8");
    $db->sql("SET character_set_results=utf8");
    [/code]

    That will set the character set of the database connection.

    Allan
  • bonsakbonsak Posts: 4Questions: 1Answers: 0
    Fabulous! Thanks a lot.

    Cheers
    Bonsak
This discussion has been closed.