Tc Unicode Helper
Classes | Typedefs | Enumerations
Utf8TextProcessor.h File Reference

contains a strict asynchronous UTF-8 decoder that uses very little memory. More...

Go to the source code of this file.

Classes

class  tccore::Utf8TextProcessor
 

Typedefs

typedef void(* tccore::UnicodeCharacterHandler) (void *callbackData, uint32_t convertedChar)
 

Enumerations

enum  tccore::UnicodeEncodingMode { ENCMODE_UTF8 , ENCMODE_EXT_ASCII }
 

Detailed Description

contains a strict asynchronous UTF-8 decoder that uses very little memory.

Typedef Documentation

◆ UnicodeCharacterHandler

typedef void(* tccore::UnicodeCharacterHandler) (void *callbackData, uint32_t convertedChar)

This callback will be called for every converted UTF8 or ASCII sequence (depending on the mode of the handler). You'll get the void pointer you provided during construction, and the characeter that was converted.

Enumeration Type Documentation

◆ UnicodeEncodingMode

Tells the UTF8 decoder which mode it is in, either extended ASCII or UTF8