File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ja.sjis.po: $(MASTER_PO)
2525
2626ja.euc-jp.po : $(MASTER_PO )
2727 iconv -f utf-8 -t euc-jp $< | \
28- sed -e ' s/charset=utf -8/charset=euc-jp/' -e ' s/# Original translations/# Generated from ja.po, DO NOT EDIT/' > $@
28+ sed -e ' s/charset=[uU][tT][fF] -8/charset=euc-jp/' -e ' s/# Original translations/# Generated from ja.po, DO NOT EDIT/' > $@
2929
3030sjiscorr : sjiscorr.c
3131 $(CC ) -o $@ $<
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ main(int argc, char **argv)
1616 {
1717 for (p = buffer ; * p != 0 ; p ++ )
1818 {
19- if (strncmp (p , "charset=utf-8" , 13 ) == 0 )
19+ if (strncmp (p , "charset=utf-8" , 13 ) == 0
20+ || strncmp (p , "charset=UTF-8" , 13 ) == 0 )
2021 {
2122 fputs ("charset=cp932" , stdout );
2223 p += 12 ;
You can’t perform that action at this time.
0 commit comments