From 581d937e51d10e6e74868d2397081b12952eae07 Mon Sep 17 00:00:00 2001 From: planet36 Date: Fri, 28 Oct 2022 10:49:05 -0500 Subject: [PATCH] entropy: Use Unicode escape sequence in string Signed-off-by: drkhsh --- components/entropy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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