diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-05-05 14:38:10 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-05-05 14:38:10 +0200 |
commit | 6db7468b987c4b5f9bcfdd7e98ceb1883c49a364 (patch) | |
tree | 466b9cb7e5c224990c20a846ab7134a2ace97dc7 /lib/plugins/acl/script.js | |
parent | 46ac8ef9ac8c7465449cd3d33c21148c75241ac8 (diff) | |
download | rpg-6db7468b987c4b5f9bcfdd7e98ceb1883c49a364.tar.gz rpg-6db7468b987c4b5f9bcfdd7e98ceb1883c49a364.tar.bz2 |
make sure loaded text has the right encoding
When pages contain non-UTF8 chars (eg. when posted through a script or
when edited on the filesystem, parts of DokuWiki can break resulting in
missing page content. This fixes these problems by forcing the content
to UTF-8 on load. This will result in bad characters for input that is
not latin1 but contents will at least be visible.
Diffstat (limited to 'lib/plugins/acl/script.js')
0 files changed, 0 insertions, 0 deletions