1
0

entropy: Use Unicode escape sequence in string

Signed-off-by: drkhsh <me@drkhsh.at>
This commit is contained in:
planet36 2022-10-28 10:49:05 -05:00 committed by drkhsh
parent c225c43151
commit 581d937e51

View File

@ -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