version 1.6, 2004/04/13 12:18:13
|
version 1.7, 2004/05/01 15:43:23
|
|
|
#define Pegasus_CommonUTF_h | #define Pegasus_CommonUTF_h |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/String.h> |
| |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES | #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
| |
|
|
| |
PEGASUS_COMMON_LINKAGE Boolean isUTF8(const char*); | PEGASUS_COMMON_LINKAGE Boolean isUTF8(const char*); |
| |
|
/** Escape all characters above 7-bit ASCII. |
|
@param String: The string to be escaped Insert text here. |
|
@return String: The escaped string. |
|
*/ |
|
PEGASUS_COMMON_LINKAGE String escapeStringEncoder(const String& Str); |
|
|
|
/** decode string returned from escapeString Encoder. |
|
@param String: The string to be decoded. |
|
@return String: The decoded string. |
|
|
|
Prereq: Only the return string from the escapeStringEncoder can be used |
|
as input. |
|
*/ |
|
PEGASUS_COMMON_LINKAGE String escapeStringDecoder(const String& Str); |
|
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES | #endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |