]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Add support for .properties files in UTF-8 encoding.
authorBruno Haible <bruno@clisp.org>
Sat, 6 Jan 2018 02:10:47 +0000 (03:10 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 6 Jan 2018 02:22:50 +0000 (03:22 +0100)
commit3872b5cbc2eb04fbf75d407b44fff158460501b4
tree5a208a71139401b742881816d8ba0076b1782ef6
parent60a684004c0b3db3c348624a9d5b19a37024a7bf
xgettext: Add support for .properties files in UTF-8 encoding.

* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add read-file, unistr/u8-check.
* gettext-tools/src/read-properties: Read the file into memory, then find out
about its encoding, then start parsing it.
* gettext-tools/tests/xgettext-properties-2: New file.
* gettext-tools/tests/xgettext-properties-3: New file.
* gettext-tools/tests/xgettext-properties-4: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add them.
* NEWS: Mention the change.
NEWS
autogen.sh
gettext-tools/src/read-properties.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/xgettext-properties-2 [new file with mode: 0644]
gettext-tools/tests/xgettext-properties-3 [new file with mode: 0644]
gettext-tools/tests/xgettext-properties-4 [new file with mode: 0644]