Skip to content

unnonouno/iconvpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

No releases published

Packages

No packages published