Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iconvpp: Simple wrapper of iconv for C++

About

This is a simple wrapper of iconv for C++.

Require

Install

Simply copy 'iconv.hpp' file to your project directory, or install it to your include directory.

$ ./waf configure
$ ./waf --check
$ ./waf install

Usage

iconvpp::converter conv("UTF-8",   // output encoding
                        "EUC-JP",  // input encoding
                        true,      // ignore errors (optional, default: fasle)
                        1024);     // buffer size   (optional, default: 1024)
std::string input = "...";
std::string output;
conv.convert(input, output);

See 'iconv_test.cpp' for more examples.

License

This library is distributed under the new BSD license.

About

wrapper library of iconv for c++

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.