#7179, Fixed boost::iostream::inverse to work with other char types.