Resetting Converters
At the conclusion of a successful call to convert() with the flush argument set to true (the default), a converter is automatically reset to a default, initial state. Sometimes, however, it may be necessary to reset a converter explicitly using the provided methods RWUToUnicodeConverter::reset() and RWUFromUnicodeConverter::reset(). For example:
if
convert() has thrown an exception in response to an error, you should ensure the converter is in the default state before using it again
if you are using a converter to fill a target buffer in a piecemeal fashion, and you want to abandon that conversion process to begin another, you should reset the converter
if you are copying a converter, and want to be sure the copy is in the default state, you should call
reset()