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) |
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) {} |