tgupdate: merge top-bases/t/misc/to-utf8 into t/misc/to-utf8
[git/gitweb.git] / .topmsg
blob503eb61a0f94fe9971cc5e70575a07885dcb63bf
1 Subject: [PATCH] gitweb: use to_utf8 on all input lines
3 Git does not mandate a character set encoding in the data it
4 tracks.  Therefore the output of any Git command that includes
5 user data could be in any encoding.
7 Just automatically marking it as UTF-8 with the ':utf8' option
8 is wrong and can lead to unexpected errors and/or misdisplayed
9 results.
11 Instead make sure every input line that may contain user-created
12 bytes passes through the to_utf8 function before being used.
14 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>