Use a proper CharSet enum value for uninitialized state of static vars,