fix charmap