Use NON-TRANSITIONAL toASCII() with libicu
This commit is contained in:
parent
26d0856d0a
commit
eda8276b5f
|
@ -658,7 +658,7 @@ static _psl_idna_t *_psl_idna_open(void)
|
||||||
{
|
{
|
||||||
#if defined(WITH_LIBICU)
|
#if defined(WITH_LIBICU)
|
||||||
UErrorCode status = 0;
|
UErrorCode status = 0;
|
||||||
return (void *)uidna_openUTS46(UIDNA_USE_STD3_RULES, &status);
|
return (void *)uidna_openUTS46(UIDNA_USE_STD3_RULES | UIDNA_NONTRANSITIONAL_TO_ASCII, &status);
|
||||||
#endif
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue