ICU 4.8.1.1
4.8.1.1
|
Output container for IDNA processing errors. More...
#include <uidna.h>
Data Fields | |
int16_t | size |
sizeof(UIDNAInfo) | |
UBool | isTransitionalDifferent |
Set to TRUE if transitional and nontransitional processing produce different results. | |
UBool | reservedB3 |
Reserved field, do not use. | |
uint32_t | errors |
Bit set indicating IDNA processing errors. | |
int32_t | reservedI2 |
Reserved field, do not use. | |
int32_t | reservedI3 |
Reserved field, do not use. |
Output container for IDNA processing errors.
Initialize with UIDNA_INFO_INITIALIZER:
UIDNAInfo info = UIDNA_INFO_INITIALIZER; int32_t length = uidna_nameToASCII(..., &info, &errorCode); if(U_SUCCESS(errorCode) && info.errors!=0) { ... }
Set to TRUE if transitional and nontransitional processing produce different results.
For details see C++ IDNAInfo::isTransitionalDifferent().