Skip to content
Snippets Groups Projects
Commit 9c7f945a authored by rswindell's avatar rswindell
Browse files

Decided to use UNICODE code points rather than UTF-8 sequences for faster

UNICODE -> CP437 conversions (no string/memory compares needed), so
cp437_utf8_tbl.* is being replaced by cp437_unicode_tbl.*.

Added utf8 module which includes:
- utf8_normalize_str() - normalize US-ASCIIZ string, from mailsrvr.c
- utf8_putc() - encoder / length calculator
- utf8_getc() - decoder

The latter 2 were swiped from OpenSSL's a_utf8.c.
parent d2df590f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment