Fix db tables for charset