mhaas / fbwlan

A simple, easy social wlan hotspot. Exchange internet access for Facebook check-ins
GNU Affero General Public License v3.0
107 stars 56 forks source link

Encoding of cyrillic (and potentially other non latin) characters in check-in messages #18

Closed phtmgt closed 8 years ago

phtmgt commented 8 years ago

We had a problem with cyrillic encoding of characters, so I decided to share the solution here for anyone else to use:

add the following line to index.php:

//Set encoding to UTF-8
ini_set( 'default_charset', 'UTF-8' );

Cheers!