instiki/app/models
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
..
author.rb Checkout of Instiki Trunk 1/21/2007. 2007-01-22 07:43:50 -06:00
page.rb Ruby 1.9 + MySQL Hack 2010-01-04 06:41:04 -06:00
page_observer.rb Checkout of Instiki Trunk 1/21/2007. 2007-01-22 07:43:50 -06:00
page_set.rb Redirected Pages are not Wanted Pages 2009-07-13 12:59:42 -05:00
revision.rb Checkout of Instiki Trunk 1/21/2007. 2007-01-22 07:43:50 -06:00
system.rb Checkout of Instiki Trunk 1/21/2007. 2007-01-22 07:43:50 -06:00
web.rb Refactoring the Web Model (From James Herdman) 2009-09-05 23:02:52 -05:00
wiki.rb Fix a broken test 2009-12-27 00:41:04 -06:00
wiki_file.rb Pathname Objects 2009-08-28 11:10:34 -05:00
wiki_reference.rb Fix a WikiReference Bug 2009-06-10 20:49:48 -05:00