>Thinking back on it, maybe it would be worth while to
>have not only your C routine (for speed) but also an
>equivalent vim script (for portability).
Well I dont know how to write vim scripts atm, but the
c version is at:
The file uconv.c will contains the generated
implementations, once built. Once again its a language
agnostic, unicode-wide, implementation of
wchar_t unicode_tolower(wchar_t ucs);
wchar_t unicode_toupper(wchar_t ucs);
using nothing more than if statements and integer
An asymmetric, context-sensitive case swapper, such as
needed by german, would require a different interface.
Such an interface would most likely require memory
operations or conversion contexts similiar to that
needed for doing an iconv.