[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
toAscii method only allows length of upto 63 characters
From: |
Lokesh Bathija |
Subject: |
toAscii method only allows length of upto 63 characters |
Date: |
Tue, 16 May 2006 12:40:27 +0530 |
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.
- toAscii method only allows length of upto 63 characters,
Lokesh Bathija <=