add sed for chinese utf8
authorchriskl <chriskl>
Fri, 14 Mar 2003 07:20:12 +0000 (07:20 +0000)
committerchriskl <chriskl>
Fri, 14 Mar 2003 07:20:12 +0000 (07:20 +0000)
lang/Makefile

index 641459719b693a830fb7631a6ff868187df93d6b..dc6b1a6f2a93432a55da5e6b363d127d69c09007 100644 (file)
@@ -6,7 +6,7 @@
 # It is important to fix first and last lines of the file <?php and ?>
 # using 'awk'
 # 
-# $Id: Makefile,v 1.6 2003/03/14 06:48:42 chriskl Exp $
+# $Id: Makefile,v 1.7 2003/03/14 07:20:12 chriskl Exp $
 #
 DESTDIR=./recoded
 
@@ -43,7 +43,7 @@ italian:
                > ${DESTDIR}/italian.php
 
 chinese-tr-utf8:
-       cat chinese-tr-utf8.php | recode utf8..html | \
+       cat chinese-tr-utf8.php | recode utf8..html | sed -e "s/&#65307;$$/;/" | \
                awk '{ gsub("&gt;",">"); gsub("&lt;","<"); print $0}' \
                > ${DESTDIR}/chinese-tr-utf8.php
 
@@ -53,7 +53,7 @@ chinese-tr-big5:
                > ${DESTDIR}/chinese-tr-big5.php
 
 chinese-sim-utf8:
-       cat chinese-sim-utf8.php | recode utf8..html | \
+       cat chinese-sim-utf8.php | recode utf8..html | sed -e "s/&#65307;$$/;/" | \
                awk '{ gsub("&gt;",">"); gsub("&lt;","<"); print $0}' \
                > ${DESTDIR}/chinese-sim-utf8.php