FIX: support accents in ToUpper/ToLower

As we don't use locale, the unicode version of tupper/tolower only does [a-z] <-> [A-Z]
This fixes it by using a static table.