User Tools

Site Tools


programming:web:charset

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programming:web:charset [2012/05/20 14:07] 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 12: Line 12:
 ===== MySQL ===== ===== MySQL =====
 <code bash> <code bash>
-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@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@sbolay:/home/sbolay# file webcalendar.dump.sql +root@me:/home/me# file webcalendar.dump.sql 
 webcalendar.dump.sql: Non-ISO extended-ASCII English text, with very long lines webcalendar.dump.sql: Non-ISO extended-ASCII English text, with very long lines
  
-root@sbolay:/home/sbolay# file -i webcalendar.dump.sql+root@me:/home/me# file -i webcalendar.dump.sql
 webcalendar.dump.sql: text/plain; charset=unknown-8bit webcalendar.dump.sql: text/plain; charset=unknown-8bit
  
programming/web/charset.1337522872.txt.gz · Last modified: 2012/05/20 14:07 by sbolay