Hi .....

I am using Libidn library. In IDNA.java class the method

public static String toASCII(String input, boolean allowUnassigned,
boolean useSTD3ASCIIRules) restricts the length of the input to only
63 characters.

i.e. if (output.length() < 1 || output.length() > 63) {
     throw new IDNAException(IDNAException.TOO_LONG);
   }

Can somebody tell the reason for hardcoding the length to 63 over
here. If we increase the length would it cause any problem.

Regards,
Lokesh.


_______________________________________________
Help-libidn mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to