#include "apr.h"
#include "apr_lib.h"
#include "apr_errno.h"
Go to the source code of this file.
|
#define | apr_conv_utf8_to_ucs2(in, inbytes, out, outwords) apr_conv_utf8_to_utf16(in, inbytes, out, outwords) |
|
#define | apr_conv_ucs2_to_utf8(in, inwords, out, outbytes) apr_conv_utf16_to_utf8(in, inwords, out, outbytes) |
|
◆ apr_conv_ucs2_to_utf8
#define apr_conv_ucs2_to_utf8 |
( |
|
in, |
|
|
|
inwords, |
|
|
|
out, |
|
|
|
outbytes |
|
) |
| apr_conv_utf16_to_utf8(in, inwords, out, outbytes) |
◆ apr_conv_utf8_to_ucs2
#define apr_conv_utf8_to_ucs2 |
( |
|
in, |
|
|
|
inbytes, |
|
|
|
out, |
|
|
|
outwords |
|
) |
| apr_conv_utf8_to_utf16(in, inbytes, out, outwords) |
◆ apr_wchar_t
◆ apr_conv_utf16_to_utf8()
An APR internal function for fast utf-16 Unicode including surrogate pairs format conversion to the utf-8 octet-encoded Unicode. This function is used for filename and other resource conversions for platforms providing native Unicode support.
@tip Only the errors APR_EINVAL and APR_INCOMPLETE may occur, the former when the surrogate word is invalid (in or out of context) and the later when another surrogate word is expected, but insufficient words remain.
◆ apr_conv_utf8_to_utf16()
An APR internal function for fast utf-8 octet-encoded Unicode conversion to the utf-16 Unicode with surrogate pairs format. This function is used for filename and other resource conversions for platforms providing native Unicode support.
@tip Only the errors APR_EINVAL and APR_INCOMPLETE may occur, the former when the character code is invalid (in or out of context) and the later when more characters were expected, but insufficient characters remain.