Bug 861113: correctly define uppercase for non Latin-1 letters