UTF-8 PO file make rule fix...
The below patch made the generated utf/LL.po files have
"charset=utf-8" on their header entries. It seems to be required to
update/build Korean message (but no idea why "ja" or "zh" people have
not complained).
diff -u -r1.43 Makefile
--- Makefile 2001/07/09 07:52:26 1.43
+++ Makefile 2001/08/04 23:27:42
@@ -90,7 +90,7 @@
@msgfmt --statistics -o $@ $<
utf/%.po: %.po
- iconv -f "`grep -a '^"Content-Type:' $< | sed -e 's/^.*charset=\\(.*\\)\\\\n.*/\\1/'`" -t utf-8 < $< > $@
+ iconv -f "`grep -a '^"Content-Type:' $< | sed -e 's/^.*charset=\\(.*\\)\\\\n.*/\\1/'`" -t utf-8 < $< | sed -e 's/^\(.*charset=\)\(.*\)\(\\n.*\)/\1utf-8\3/' > $@
%.pox: %.po
$(MAKE) $(PACKAGE).pot
--
Changwoo Ryu
Reply to: