database charset and collate improvements
more improvements