commit 581d937e51d10e6e74868d2397081b12952eae07
parent c225c4315161a992b9e44dd990d083ee57f7f713
Author: planet36 <[email protected]>
Date:   Fri, 28 Oct 2022 10:49:05 -0500
entropy: Use Unicode escape sequence in string
Signed-off-by: drkhsh <[email protected]>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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