Table of Contents

Charset

apache

root@me:/# curl -I localhost
HTTP/1.1 200 OK
Date: Sun, 20 May 2012 14:00:05 GMT
Server: Apache/2.2.16 (Debian)
Vary: Accept-Encoding
Content-Type: text/html;charset=UTF-8

MySQL

root@me:/home/me# mysqldump -h localhost --user=dbwebcalendar -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset -r webcalendar.dump.sql webcalendar
 
root@me:/home/me# file webcalendar.dump.sql 
webcalendar.dump.sql: Non-ISO extended-ASCII English text, with very long lines
 
root@me:/home/me# file -i webcalendar.dump.sql
webcalendar.dump.sql: text/plain; charset=unknown-8bit