This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=b1db75d6fb1c8a13af5274a62b0bd2d9cf191b28

commit b1db75d6fb1c8a13af5274a62b0bd2d9cf191b28
Author: Guillem Jover <[email protected]>
AuthorDate: Mon May 8 00:39:53 2023 +0200

    man: Clarify C.UTF-8 locale setting hint
    
    On systems where the LANGUAGE environment variable is supported, it will
    affect the output when the locale is set to something other than "C",
    which is the case with the hint here. Mention it to make the user aware
    of this behavior.
    
    Closes: #1028296
---
 man/dpkg-query.pod | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/dpkg-query.pod b/man/dpkg-query.pod
index 05b9ffe8f..eaa152488 100644
--- a/man/dpkg-query.pod
+++ b/man/dpkg-query.pod
@@ -155,7 +155,9 @@ Z<>
   diverted by I<pkg> to: I<diverted-to>
 
 B<Hint>: When machine parsing the output, it is customary to set the locale to
-B<C.UTF-8> to get reproducible results.
+B<C.UTF-8> to get reproducible results. On some systems this might also
+require adapting the B<LANGUAGE> environment variable appropriately if it
+is already set (see L<locale(7)>).
 
 This command will not list extra files created by maintainer scripts,
 nor will it list alternatives.

-- 
Dpkg.Org's dpkg

Reply via email to