Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXUTF8Codec Class Reference

Codec for UTF-8. More...

#include <FXUTF8Codec.h>

Inheritance diagram for FX::FXUTF8Codec:

FX::FXTextCodec FX::FXObject List of all members.

Public Member Functions

 FXUTF8Codec ()
virtual FXint mb2wc (FXwchar &wc, const FXchar *src, FXint nsrc) const
virtual FXint wc2mb (FXchar *dst, FXint ndst, FXwchar wc) const
virtual const FXchar * name () const
virtual const FXchar * mimeName () const
virtual FXint mibEnum () const
virtual const FXchar *const * aliases () const
virtual ~FXUTF8Codec ()

Detailed Description

Codec for UTF-8.


Constructor & Destructor Documentation

FX::FXUTF8Codec::FXUTF8Codec (   )  [inline]
 

virtual FX::FXUTF8Codec::~FXUTF8Codec (   )  [inline, virtual]
 


Member Function Documentation

virtual FXint FX::FXUTF8Codec::mb2wc (  FXwchar &  wc,
const FXchar *  src,
FXint  nsrc
)  const [virtual]
 

Convert multi-byte characters from src to single wide character.

Reimplemented from FX::FXTextCodec.

virtual FXint FX::FXUTF8Codec::wc2mb (  FXchar *  dst,
FXint  ndst,
FXwchar  wc
)  const [virtual]
 

Convert single wide character to multi-byte characters at dst.

Reimplemented from FX::FXTextCodec.

virtual const FXchar* FX::FXUTF8Codec::name (   )  const [virtual]
 

Return name of the codec.

Implements FX::FXTextCodec.

virtual const FXchar* FX::FXUTF8Codec::mimeName (   )  const [virtual]
 

Return the IANA mime name for this codec; this is used for example as "text/utf-8" in drag and drop protocols.

Implements FX::FXTextCodec.

virtual FXint FX::FXUTF8Codec::mibEnum (   )  const [virtual]
 

Return the Management Information Base (MIBenum) for the character set.

Implements FX::FXTextCodec.

virtual const FXchar* const* FX::FXUTF8Codec::aliases (   )  const [virtual]
 

Return NULL-terminated list of aliases for this codec.

Implements FX::FXTextCodec.

Copyright © 1997-2005 Jeroen van der Zijp