How do I change my locale to UTF-8 in CentOS?
In CentOS try with system-config-language command. That’s the CentOS way 🙂 Also you can try with: localedef -c -f UTF-8 -i en_US en_US.UTF-8 export LC_ALL=en_US.UTF-8
In CentOS try with system-config-language command. That’s the CentOS way 🙂 Also you can try with: localedef -c -f UTF-8 -i en_US en_US.UTF-8 export LC_ALL=en_US.UTF-8
Use the CHARACTER SET option when creating your database, like so: CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_bin; also, read the docs…
Adding charset utf-8; is pretty much everything you need to do. Are sure that you didn’t forget to reload nginx after you changed the configuration file? Besides at the moment of writing, curl -I http://vorb.de/ returns the following result: HTTP/1.1 200 OK Server: nginx/0.7.67 Date: Fri, 16 Sep 2011 13:20:03 GMT Content-Type: text/html; charset=utf-8 Content-Length: … Read more