aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bthci_evt.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-12-30 12:38:52 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-30 21:20:28 +0000
commitdcbebe0eaccfba338eaa11df17197ab0f928766a (patch)
tree74c54e923e5371eb056a96da65aac3bd9d3ab3cd /epan/dissectors/packet-bthci_evt.c
parent3b578619098dc86e69a2ddbbc5b10d0fdb062537 (diff)
Test suite: Start testing our output for valid UTF-8.
Feed the output of `tshark -G <glossary>` to `iconv -f UTF-8`. Adjust a couple of the Bluetooth dissectors and X11 keysyms accordingly. Change-Id: I5b04dc3fa4734c8f0a795daf44bd398fe5ebc1bd Reviewed-on: https://code.wireshark.org/review/6146 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/dissectors/packet-bthci_evt.c')
-rw-r--r--epan/dissectors/packet-bthci_evt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c
index 3626fffd74..960e329b14 100644
--- a/epan/dissectors/packet-bthci_evt.c
+++ b/epan/dissectors/packet-bthci_evt.c
@@ -680,8 +680,11 @@ static const value_string evt_master_clock_accuray[] = {
{ 0, NULL }
};
+/* XXX - Should be pulled from utf8_entities.h */
+#define UTF8_MICRO_SIGN "\xc2\xb5" /* 181 / 0xb5 */
+
static const value_string evt_air_mode_vals[] = {
- { 0x00, "\xb5-law log" },
+ { 0x00, UTF8_MICRO_SIGN "-law log" },
{ 0x01, "A-law log" },
{ 0x02, "CVSD" },
{ 0x03, "Transparent Data" },