Source code taken from cacert-20120429.tar.bz2
[cacert.git] / locale / Makefile
index b703fb2..1517066 100644 (file)
@@ -112,8 +112,7 @@ $(LANGS:%=$(MO_FILE_TEMPLATE)): $(MO_FILE_TEMPLATE): $(PO_FILE_TEMPLATE)
 $(LANGS:%=$(PO_FILE_TEMPLATE)):
        mkdir -p $(@D)
        wget --output-document - '$(@:$(PO_FILE_TEMPLATE)=$(PO_URL_TEMPLATE))' | \
-               # convert UTF-8 characters to HTML entities \
-               php -r 'while (!feof(STDIN)) echo mb_convert_encoding(fgets(STDIN), "HTML-ENTITIES", "UTF-8");' \
+               php -f escape_special_chars.php \
                > $@