"Bruno Haible" <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> > unicase case folding >> >> Is this NFKC? > > I didn't consider normalization functions so far, on the premise that text > being exchanged between applications is assumed to be precomposed. > But their presence in Java APIs and the IDN case shows that APIs for > composing and decomposing are probably needed.
Possibly we could use the glib code, which I used in LibIDN, as a basis for this. Or do you have another NFKC implementation? Btw, ultimately, I'd like to see many of the neat stuff in glib be modularised into gnulib. I have been hesitating about depending on glib, because it is ever growing and some parts have portability issues (e.g., related to threads), but most parts of it is quite general and well written. /Simon