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:
parent
8b9f718dee
commit
216c4b2673
|
@ -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*)
|
||||
|
|
Loading…
Reference in New Issue