add support for char formats