help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please review TR46 implementation (libidn2)


From: Tim Ruehsen
Subject: Please review TR46 implementation (libidn2)
Date: Tue, 29 Nov 2016 17:56:02 +0100
User-agent: KMail/5.2.3 (Linux/4.8.0-1-amd64; KDE/5.28.0; x86_64; ; )

There is a new branch 'tr46' (https://gitlab.com/rockdaboot/libidn2/tree/
tr46).

It introduces new flags for the lookup functions IDN2_TRANSITIONAL and 
IDN2_NONTRANSITIONAL (mutual exclusive).

IDN2_TRANSITIONAL enables the TR46 transitional process.
IDN2_NONTRANSITIONAL enables the TR46 non-transitional process.

Corresponding, the 'idn2' utility now has -T/--tr46t to enable transitional 
lookup and -N/--tr46nt to enable non-transitional lookup.

Example:
$ src/idn2 -T faß.de
fass.de

$ src/idn2 -N faß.de
xn--fa-hia.de

To show the TR46 mapping (upper->lowercase) in work:
$ src/idn2 Faß.de
idn2: lookup: string contains a disallowed character

$ src/idn2 -T Faß.de
fass.de

$ src/idn2 -N Faß.de
xn--fa-hia.de


Please review and comment.

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]