summaryrefslogtreecommitdiff
path: root/components/entropy.c
diff options
context:
space:
mode:
authorplanet36 <planet36@users.noreply.github.com>2022-10-28 10:49:05 -0500
committerRafael Marçalo <raroma09@gmail.com>2023-01-03 15:00:42 +0000
commit5bd3eb0169620c0a689cbae0dd85c52b0e098257 (patch)
tree10913f92b674ed2b5b58afd417c1f83e947d341c /components/entropy.c
parent9e8187327f6eefe474715e8bb9e66e54be354b45 (diff)
entropy: Use Unicode escape sequence in string
Signed-off-by: drkhsh <me@drkhsh.at>
Diffstat (limited to 'components/entropy.c')
-rw-r--r--components/entropy.c3
1 files changed, 2 insertions, 1 deletions
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