Set charsets and collations to the proper values