UtfConverter.h File Reference

UNICODE conversion helper function interfaces. More...

#include <string>
#include "ConvertUTF.h"

Namespaces

namespace  UtfConverter
 Functions for the UNICODE conversion.
 

Functions

bool UtfConverter::unicode_isalpha (UTF32 c)
 return true if the UTF32 code point c is alphabetic according to Annex E of ISO/IEC 10176 More...
 
std::string UtfConverter::ConversionResult_tostring (int res)
 render the return code from ConvertUTFxxtoUTFyy to a string More...
 
UTF32 UtfConverter::FromUtf8 (const char **s)
 
std::wstring UtfConverter::FromUtf8 (const std::string &utf8string)
 
std::string UtfConverter::ToUtf8 (const std::wstring &widestring)
 
std::string UtfConverter::ToUtf8 (const wchar_t *)
 

Detailed Description

UNICODE conversion helper function interfaces.

This file is part of LIBPF All rights reserved; do not distribute without permission.

Based in part on code by rh_: http://www.codeproject.com/KB/string/UtfConverter.aspx Convert between std::string and std::wstring, UTF-8 and UTF-16

Author
(C) Copyright 2004-2023 Paolo Greppi simevo s.r.l.