Bob Aman <b...@sporkmonger.com> writes:

> I believe this is an invalid punycode encoding and should be raising an
> error. Instead, I'm seeing the identity value without an error when trying
> to convert to unicode.
>
> http://xn--zckp1cyg1.sblo.jp/
>
> I believe it's that last character in the sequence that's invalid.
>
> This is in 1.32 on OS X, installed via homebrew.

ToUnicode never raises errors.  On internal failures, the original
string is returned.  RFC 3490:

   ToUnicode never fails.  If any step fails, then the original input
   sequence is returned immediately in that step.

/Simon

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Help-libidn mailing list
Help-libidn@gnu.org
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to