------- Comment #6 from jcavalla at postini dot com 2007-04-20 22:59 ------- I ran additional tests just to make sure that the shift state was valid across calls, even though partial is not returned when a chunk ends in a partial encoding sequence. I split several 2,3, and 4 byte UTF character sequences across two calls to the codecvt in() method. Each time, the sequence was correctly widened into 1 UTF-32 character code. Thus, the shift state appears to be OK. Just the return value of 'ok' is incorrect.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31643