From 4695ea20cc8f241c5b2ae0e6fc380cc583ee5050 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 16 Oct 2015 16:24:32 -0700 Subject: Add DEGREE SIGN character to utf8_entities.h and use it. Add a #define giving the UTF-8 sequence for DEGREE SIGN, and use it in packet-synphasor.c rather than having it define its own version. Use it in some other places rather than a string of two octal values. Change-Id: Ic0f3b23ae0165c9824d89304d683f45bce31dced Reviewed-on: https://code.wireshark.org/review/11102 Reviewed-by: Guy Harris --- wsutil/utf8_entities.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wsutil') diff --git a/wsutil/utf8_entities.h b/wsutil/utf8_entities.h index 0fab083674..62254c1736 100644 --- a/wsutil/utf8_entities.h +++ b/wsutil/utf8_entities.h @@ -31,6 +31,7 @@ * and other places */ +#define UTF8_DEGREE_SIGN "\xc2\xb0" /* 176 / 0xb0 */ #define UTF8_MIDDLE_DOT "\xc2\xb7" /* 183 / 0xb7 */ #define UTF8_BULLET "\xe2\x80\xa2" /* 8226 / 0x2024 */ -- cgit v1.2.3