• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

LICENSED23-Nov-20231.1 KiB2016

README.v8D23-Nov-2023641 1916

utf8-decoder.hD23-Nov-20233.1 KiB7851

README.v8

1Name: DFA UTF-8 Decoder
2Short Name: utf8-decoder
3URL: http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
4Version: 0
5License: MIT
6License File: NOT_SHIPPED
7Security Critical: no
8
9Description:
10Decodes UTF-8 bytes using a fast and simple definite finite automata.
11
12Local modifications:
13- Rejection state has been mapped to row 0 (instead of row 1) of the DFA,
14  saving some 50 bytes and making the table easier to reason about.
15- The transitions have been remapped to represent both a state transition and a
16  bit mask for the incoming byte.
17- The caller must now zero out the code point buffer after successful or
18  unsuccessful state transitions.
19