FreeCalypso > hg > falcon-mail-tools
changeset 5:882d97266174
f-demime: fix \u and \U escape formats
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 06 May 2023 09:19:12 +0000 |
parents | 612c4d0df768 |
children | cd2dcf6eed67 |
files | f-demime/ptext_in.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/f-demime/ptext_in.c Sat May 06 09:02:12 2023 +0000 +++ b/f-demime/ptext_in.c Sat May 06 09:19:12 2023 +0000 @@ -153,9 +153,9 @@ char buf[9]; if (unicode >= 0x10000) - sprintf(buf, "\\U%06u", unicode); + sprintf(buf, "\\U%06X", unicode); else - sprintf(buf, "\\u%04u", unicode); + sprintf(buf, "\\u%04X", unicode); unit_output(buf); }