Hybrid charset conversion