commit 581d937e51d10e6e74868d2397081b12952eae07
Author:     planet36 <[email protected]>
AuthorDate: Fri Oct 28 10:49:05 2022 -0500
Commit:     drkhsh <[email protected]>
CommitDate: Mon Dec 19 02:44:21 2022 +0100

    entropy: Use Unicode escape sequence in string
    
    Signed-off-by: drkhsh <[email protected]>

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

Reply via email to