From: Paul Eggert Date: Mon, 14 Feb 2022 20:16:07 +0000 (-0800) Subject: tr: mention multibyte problem in man page X-Git-Tag: v9.1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0f1965fba57f1c75d92e36ac3cbc0d58396810;p=thirdparty%2Fcoreutils.git tr: mention multibyte problem in man page * man/tr.x: Document tr problem. --- diff --git a/man/tr.x b/man/tr.x index f28f1b0d61..b531032889 100644 --- a/man/tr.x +++ b/man/tr.x @@ -2,3 +2,12 @@ tr \- translate or delete characters [DESCRIPTION] .\" Add any additional description here +[BUGS] +.PP +Full support is available only for safe single-byte locales, +in which every possible input byte represents a single character. +The C locale is safe in GNU systems, so you can avoid this issue +in the shell by running +.B "LC_ALL=C tr" +instead of plain +.BR tr .