]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
doc: Clarify constraints for PO files.
authorBruno Haible <bruno@clisp.org>
Sun, 3 Jul 2022 09:16:27 +0000 (11:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2022 07:30:42 +0000 (09:30 +0200)
* gettext-tools/doc/gettext.texi (PO Files): Mention that \u and \U escape
sequences are not allowed.

gettext-tools/doc/gettext.texi

index b9aa7798fc1f3b0a29adc11e1742eb264436c5e0..b5a386e321d9bf2b3f46aecdceff147c8102b303 100644 (file)
@@ -1823,8 +1823,9 @@ not be used anywhere else.
 
 Each of @var{untranslated-string} and @var{translated-string} respects
 the C syntax for a character string, including the surrounding quotes
-and embedded backslashed escape sequences.  When the time comes
-to write multi-line strings, one should not use escaped newlines.
+and embedded backslashed escape sequences, except that universal character
+escape sequences (@code{\u} and @code{\U}) are not allowed.  When the time
+comes to write multi-line strings, one should not use escaped newlines.
 Instead, a closing quote should follow the last character on the
 line to be continued, and an opening quote should resume the string
 at the beginning of the following PO file line.  For example: