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

RWUTF8Helper

Module:  Advanced Tools   Package:  Streams


Does not inherit

Local Index

Non-Members

Header File

#include <rw/stream/RWUTF8Helper.h>

Description

The class RWUTF8Helper provides common functionality used to encode and decode UTF-8 sequences.

Static Global Functions

static EncodingCategory 
decodeFirstByte(RWByte b);
static EncodingCategory 
decodeFourBytesEncoding(RWByte firstByte, RWByte secondByte,   
                        RWByte thirdByte, RWByte fourthByte,
                        RWUChar& highSurrogateValue, 
                        RWUChar& lowSurrogateValue);
static EncodingCategory 
decodeThreeBytesEncoding(RWByte firstByte, RWByte secondByte,
RWByte thirdByte, RWUChar& res);
static EncodingCategory 
decodeTwoBytesEncoding(RWByte firstByte, RWByte secondByte,
RWUChar& res);
static EncodingCategory 
encodeOneUChar(RWUChar uc, RWByte* res, 
RWUChar highSurrogateValue= 0);


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.