d786e95a77
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. |
||
---|---|---|
.. | ||
author.rb | ||
page.rb | ||
page_observer.rb | ||
page_set.rb | ||
revision.rb | ||
system.rb | ||
web.rb | ||
wiki.rb | ||
wiki_file.rb | ||
wiki_reference.rb |