User Tools

Site Tools


programming:web:charset

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
programming:web:charset [2012/05/20 14:02] – created sbolayprogramming:web:charset [2012/12/19 08:09] (current) – [MySQL] administrator
Line 2: Line 2:
 ===== apache ===== ===== apache =====
 <code bash> <code bash>
-root@sbolay:/srv/www/bolay.co/webcalendar# curl -I localhost+root@me:/# curl -I localhost
 HTTP/1.1 200 OK HTTP/1.1 200 OK
 Date: Sun, 20 May 2012 14:00:05 GMT Date: Sun, 20 May 2012 14:00:05 GMT
Line 8: Line 8:
 Vary: Accept-Encoding Vary: Accept-Encoding
 Content-Type: text/html;charset=UTF-8 Content-Type: text/html;charset=UTF-8
 +</code>
 +
 +===== MySQL =====
 +<code bash>
 +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
 +
 </code> </code>
  
  
programming/web/charset.1337522557.txt.gz · Last modified: 2012/05/20 14:02 by sbolay