summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-29 16:51:12 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-29 16:51:12 +0100
commit5b493a9bf8356bce9472256a3a2a16c3b7ab2643 (patch)
treeab423ccb37b99600a9ea76a48c7fd8060b0c5039 /Makefile
parent5376ddaeacecf34f1a5def3ccb094c6fc1bcb855 (diff)
Assume UTF-8 format for raw input data.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d3c5e4..c0da69d 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ download:
wget -O $(stem).raw '$(source_baseurl)w/index.php?title=$(source_basename)&action=edit'
$(stem).mediawiki: $(stem).raw
- perl -0777 -MHTML::Entities -MRegexp::Common=net -MURI::Escape -p \
+ perl -C -0777 -MHTML::Entities -MRegexp::Common=net -MURI::Escape -p \
-e 's|.*<textarea[^>]*>||s; s|</textarea.*||s;' \
-e 'decode_entities($$_);' \
-e 's|.*?\n= |= |s;' \