utf8.h File Reference

updated Fri Dec 9 2016
 
Namespaces | Typedefs | Functions
utf8.h File Reference

RE/flex UCS to UTF-8 converters. More...

#include <string>
#include <cstring>
Include dependency graph for utf8.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 reflex
 

Typedefs

typedef wchar_t reflex::unicode_t
 

Functions

std::string reflex::utf8 (unicode_t a, unicode_t b, bool strict=true, const char *esc=NULL)
 Convert a UCS range [a,b] to a UTF-8 regex pattern. More...
 
size_t reflex::utf8 (unicode_t c, char *s)
 Convert UCS to UTF-8. More...
 
unicode_t reflex::utf8 (const char *s)
 Convert UTF-8 to UCS. More...
 

Detailed Description

RE/flex UCS to UTF-8 converters.

Author
Robert van Engelen - engel.nosp@m.en@g.nosp@m.enivi.nosp@m.a.co.nosp@m.m