Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWFromUTF8Converter

Module:  Advanced Tools   Package:  Streams


Does not inherit

Local Index

Members

Header File

#include <rw/stream/RWFromUTF8Converter.h>

Description

RWFromUTF8Converter converts char, RWCString or std::string UTF-8 values to UTF-16. The character or string to be converted must be encoded in UTF-8. To translate other encodings, use converters supplied by the Internationalization Module. All characters or strings must contain complete UTF-8 characters. Partial encodings will result in the converter throwing an RWExternalStreamException.

Public Member Functions

void 
convert(char from, RWUChar& to);
void 
convert(char from, wchar_t& to);
void 
convert(char from, RWWString& to&);
void 
convert(const char* from, size_t len, RWWString& to);
void 
convert(const RWCString& from, RWWString& to);
void 
convert(const std::string& from, RWWString& to);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.