instiki/app
Jacques Distler d786e95a77 Ruby 1.9 + MySQL Hack
The default encoding in MySQL is latin1. Ruby 1.9
is a stickler about the encoding of a sequence of bytes.
In this case, a utf8 page name stored in the database comes
back as "ASCII-8BIT" (ie, binary). Coerce that back to utf8.

This doesn't affect SQLite3, and it doesn't affect Ruby 1.8.
It doesn't even affect MySQL databases with "utf8" encoding
(though that has other issues, since MySQL's utf8 support is
broken).
There are probably other, similar problems lurking.
2010-01-04 06:41:04 -06:00
..
controllers Version 0.18 2009-12-27 00:55:48 -06:00
helpers Make truncate() Unicode-aware 2009-12-14 17:41:28 -06:00
models Ruby 1.9 + MySQL Hack 2010-01-04 06:41:04 -06:00
views Fenced Code Blocks, Fortran Syntax Colouring 2009-12-31 15:54:01 -06:00