Gen-bugnote: Fix an encoding issue.

Change-Id: I0b193bc2dfa68de98d53b2443773d121801271e8
Reviewed-on: https://code.wireshark.org/review/35786
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2020-01-13 13:53:04 -08:00
parent 8b9f718dee
commit 216c4b2673
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ bz_url_pfx="https://bugs.wireshark.org/bugzilla/show_bug.cgi"
bug_id="$1"
recode_cmd="cat"
hash recode > /dev/null 2>&1 && recode_cmd="recode html..utf8"
# Bugzilla gives us UTF-8 with HTML escapes. We want UTF-8. Recode assumes
# that HTML is encoded as ISO-8859-1.
# https://github.com/rrthomas/Recode/issues/1
hash recode > /dev/null 2>&1 && recode_cmd="recode utf8..html | recode html..utf8"
case "$OSTYPE" in
darwin*)