Cleanup: remove UTF8 macros

At some places we use UTF8 string literals. Therefore, we effectively
only support UTF8 build systems. We might just as well remove all
the other UTF_* macros and use direct string literals.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-05-11 22:45:49 +02:00 committed by Dirk Hohndel
parent 32720a7c18
commit e362afe43c
7 changed files with 25 additions and 35 deletions

View file

@ -316,10 +316,10 @@ double get_temp_units(unsigned int mk, const char **units)
if (units_p->temperature == FAHRENHEIT) {
deg = mkelvin_to_F(mk);
unit = UTF8_DEGREE "F";
unit = "°F";
} else {
deg = mkelvin_to_C(mk);
unit = UTF8_DEGREE "C";
unit = "°C";
}
if (units)
*units = unit;