|
PebbleOS
|
#include <stdint.h>Macros | |
| #define | PBL_UTF8_ACCEPT 0U |
| Decoder state: a code point has been decoded, or decoding has not started. | |
| #define | PBL_UTF8_REJECT 12U |
| Decoder state: the input is not valid UTF-8. | |
Functions | |
| uint8_t | pbl_utf8_decode (uint8_t *state, uint32_t *codepoint, uint8_t byte) |
| Feed one byte to the UTF-8 decoder. | |