| 
    Bugz Door Project
    
   | 
 
Converts from one encoding to another. Uses iconv (international conversion) API. More...
Public Member Functions | |
| IConv (const char *to, const char *from) | |
| Construct a new IConv::IConv object.  More... | |
| int | convert (char *input, char *output, size_t outbufsize) | 
| Calls iconv API to do the conversion.  More... | |
Private Attributes | |
| iconv_t | ic | 
Converts from one encoding to another. Uses iconv (international conversion) API.
| door::IConv::IConv | ( | const char * | to, | 
| const char * | from | ||
| ) | 
Construct a new IConv::IConv object.
Give the encodings that you want to convert to and from.
| to | |
| from | 
| int door::IConv::convert | ( | char * | input, | 
| char * | output, | ||
| size_t | outbufsize | ||
| ) | 
Calls iconv API to do the conversion.
Buffers must be provided.
| input | |
| output | |
| outbufsize | 
 1.8.17