From: planet36 Date: Fri, 28 Oct 2022 15:49:05 +0000 (-0500) Subject: entropy: Use Unicode escape sequence in string X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=581d937e51d10e6e74868d2397081b12952eae07;p=suckless%2Fslstatus.git entropy: Use Unicode escape sequence in string Signed-off-by: drkhsh --- diff --git a/components/entropy.c b/components/entropy.c index 66b2e5a..65010b0 100644 --- a/components/entropy.c +++ b/components/entropy.c @@ -22,7 +22,8 @@ const char * entropy(const char *unused) { + // https://www.unicode.org/charts/PDF/U2200.pdf /* Unicode Character 'INFINITY' (U+221E) */ - return "\xe2\x88\x9e"; + return "\u221E"; } #endif