IDNA online tool
vint at google.com
Thu Apr 9 21:27:25 CEST 2009
Folks please advise if disparities are detected between the tool and rules found in specs.
From: idna-update-bounces at alvestrand.no
To: IDNA update work
Sent: Thu Apr 09 12:09:22 2009
Subject: IDNA online tool
I took the program I talked about last week, and made an online tool for IDNA, at http://unicode.org/cldr/utility/idna.jsp.
You can put different possible labels in, and see what happens to them with the current IDNA and the draft IDNAbis. The labels can also use \uXXXX escaping, if you know the code point number but can't type the code, and there is a Picker that you can use to compose text. When something fails IDNAbis, then the reason is shown.
You can also control the mapping to see what effect that has. The basis of the mapping is IDNA2003-style (NFKC-CF-RDI), but you can change that to exclude characters, either listed individually or by property. Example:
[:any:] excludes mapping all characters
[:di:] excludes mapping default ignorable characters
[ß ς [:Join_C:]] excludes mapping the current four special characters.
and so on. There is a full list on http://unicode.org/cldr/utility/properties.jsp
In particular, using [:any:] shows the results of no mapping.
I tried to add some examples that illustrated different features, like "ȡog", which has a post Unicode 3.2 character. Please let me know of other examples that would be useful to have by default.
* The UI is a bit rough; I just used some off-the-shelf components. If there is something you find unusable, please let me know; or if you have other suggestions.
* As discussed previously, I think I match the tables document except for a few context cases. These are in the rules file http://unicode.org/cldr/utility/idnaContextRules.txt.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Idna-update