Synopsis: ostrstream, string & vector delivers 'garbage' output with cout State-Changed-From-To: analyzed->closed State-Changed-By: bkoz State-Changed-When: Thu Mar 28 14:53:06 2002 State-Changed-Why: This code is wrong. There's been no response to any commentary in this bugreport in a year. I'm closing this. FYI, current results of your test case: gcc version 3.2 20020324 (experimental) %a.out ** i4 Høÿÿÿ÷ÿÿÿöÿÿÿÙ ÿÿÿíÿÿÿìÿÿÿ± http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2037