aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assets/js
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-05-21 14:06:24 +0100
committerGitHub <noreply@github.com>2022-05-21 14:06:24 +0100
commitbc4764ffc67d240149fba9b0e8d23a68bc95fc6c (patch)
tree761ae64afe0b6602efb53a64b8c640ab0a6b9f75 /docs/assets/js
parentf6c992974edaf04a7bd07aa00902915af25e6727 (diff)
downloadgitea-bc4764ffc67d240149fba9b0e8d23a68bc95fc6c.tar.gz
gitea-bc4764ffc67d240149fba9b0e8d23a68bc95fc6c.zip
Detect truncated utf-8 characters at the end of content as still representing utf-8 (#19773)
Our character detection algorithm can potentially incorrectly detect utf-8 as iso-8859-x if there is a truncated character at the end of the partially read file. This PR changes the detection algorithm to truncated utf8 characters at the end of the buffer. Fix #19743 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'docs/assets/js')
0 files changed, 0 insertions, 0 deletions