Translate charset names.
Truncate index names smarter.