mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-1220 oops. use UCNV_ESCAPE_XML_HEX for escape-xml-hex!
X-SVN-Rev: 7407
This commit is contained in:
parent
550c0e205e
commit
72a06de4e9
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ Unicode, and then from Unicode to the destination encoding).
|
|||
It is possible to specify callbacks that are used to handle invalid
|
||||
characters in the input, or characters that cannot be transcoded to
|
||||
the destination encoding.
|
||||
.PP
|
||||
.B uconv
|
||||
can also run the transcoding through a specified
|
||||
.IR transliterator ,
|
||||
|
|
|
@ -94,7 +94,7 @@ static struct callback_ent {
|
|||
{ "escape-c", UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C, UCNV_TO_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C },
|
||||
{ "escape-xml", UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC, UCNV_TO_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC },
|
||||
{ "escape-xml-dec", UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC, UCNV_TO_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC },
|
||||
{ "escape-xml-hex", UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC, UCNV_TO_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_DEC }
|
||||
{ "escape-xml-hex", UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_HEX, UCNV_TO_U_CALLBACK_ESCAPE, UCNV_ESCAPE_XML_HEX }
|
||||
};
|
||||
|
||||
static const struct callback_ent *findCallback(const char *name) {
|
||||
|
|
Loading…
Add table
Reference in a new issue