programming:web:charset
This is an old revision of the document!
Charset
apache
root@sbolay:/srv/www/bolay.co/webcalendar# 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@sbolay:/home/sbolay# mysqldump -h localhost --user=dbwebcalendar -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset -r webcalendar.dump.sql webcalendar root@sbolay:/home/sbolay# file webcalendar.dump.sql webcalendar.dump.sql: Non-ISO extended-ASCII English text, with very long lines root@sbolay:/home/sbolay# file -i webcalendar.dump.sql webcalendar.dump.sql: text/plain; charset=unknown-8bit
programming/web/charset.1337522872.txt.gz · Last modified: 2012/05/20 14:07 by sbolay