What does your feature request improve on? Please describe.
NumeRe only supports ANSI as encoding (CP1252, in fact). It would be helpful, if there would be functions for converting to and from UTF8 (as far as possible).
Describe the solution you'd like
Create two string functions for converting to and from UTF8, i.e. utf8toansi() and ansitoutf8() or similar.
Additional context
Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The function from UTF-8 to CP1252 is already available as std::string utf8parser(const std::string& sString) in stringtools.cpp, the corresponding counterpart has to be added (is available in some other code bases).
Create the necessary wrapper function as string functions in stringfunctions.hpp and register them correspondingly.
DESCRIPTION
What does your feature request improve on? Please describe. NumeRe only supports ANSI as encoding (CP1252, in fact). It would be helpful, if there would be functions for converting to and from UTF8 (as far as possible).
Describe the solution you'd like Create two string functions for converting to and from UTF8, i.e.
utf8toansi()
andansitoutf8()
or similar.Additional context Add any other context or screenshots about the feature request here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
std::string utf8parser(const std::string& sString)
instringtools.cpp
, the corresponding counterpart has to be added (is available in some other code bases).stringfunctions.hpp
and register them correspondingly.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST