FIX: support accents in ToUpper/ToLower
Merge pull request #4861 from koying/fixupperaccent

FIX: support accents in ToUpper/ToLower