Normalization of Hangul

Kenneth Whistler kenw at sybase.com
Tue Feb 19 21:08:37 CET 2008


Patrik asked:

> Is there a different specification of the normalization algorithm for  
> Hangul than what now exists, an algorithm specified that is based upon  
> the fact one should know how integer arithmetic in Java works?

Well, the specification of exactly how Hangul decomposition
and (re)composition works is in Section 3.12 of the standard,
pp. 121 - 123. That doesn't depend on integer arithmetic in Java.
All you do is plug the decomposition and composition rules
for Hangul into the relevant part of the UAX #15 normalization
that requires decomposition or composition of strings.

Normally, of course, you just depend on a library API that
does the normalization for you (including the proper handling
of Hangul).

--Ken



More information about the Idna-update mailing list