2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test conversion from UTF-8 to BIG5.
5 # Test that encoding names are case insensitive.
7 cat <<\EOF > mco-test2.po
8 # Chinese translation for GNU gettext messages.
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
16 #: src/msgcmp.c:155 src/msgmerge.c:273
17 msgid "exactly 2 input files required"
18 msgstr "此功能需要恰好指定兩個輸入檔"
22 ${MSGCONV} -t Big5 -o mco-test2.out mco-test2.po || exit 1
24 cat <<\EOF > mco-test2.ok
25 # Chinese translation for GNU gettext messages.
30 "Content-Type: text/plain; charset=BIG5\n"
31 "Content-Transfer-Encoding: 8bit\n"
33 #: src/msgcmp.c:155 src/msgmerge.c:273
34 msgid "exactly 2 input files required"
35 msgstr "¦¹¥\¯à»Ýn«ê¦n«ü©w¨âÓ¿é¤JÀÉ"
39 # Redirect stdout, so as not to fill the user's screen with non-ASCII bytes.
40 ${DIFF} mco-test2.ok mco-test2.out >/dev/null