ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Wiki.cpp
(Generate patch)

Comparing GoogleTron/Wiki.cpp (file contents):
Revision 778 by douglas, 2006-05-28T18:43:39-07:00 vs.
Revision 779 by douglas, 2006-05-28T22:28:14-07:00

# Line 9 | Line 9
9   #include <api/files.hpp>
10   #include <api/pcre/regex.hpp>
11  
12 + #include "Iconv/Iso88591ToUtf8.hpp"
13   #include "Wiki.hpp"
14  
15   Wiki::Wiki(const cse::String &sitemap, const cse::String &base, ext::Queue<Url> &queue, api::ThreadMutex &queueLock, const _R<WikiCommand> &command) : CommandRunner(sitemap, queue, queueLock)
# Line 58 | Line 59 | void Wiki::Entry(const api::Path &file,
59  
60                                  break;
61                          }
62 <                        else if (key == _B("text") && redirect(value))
62 >                        // XXX: Menes should have something that converts from ISO-8859-1 to UTF-8
63 >                        else if (key == _B("text") && redirect(Iconv::Iso88591ToUtf8(value)))
64                                  return;
65          }
66          catch (ext::EosException) {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines