Problem writing unicode data to wofstream
Radhika M G
Fri Jan 9 03:23:00 GMT 2009
Im trying to create a csv file in Unicode format. Im using wofstream to
create the file.
Im writing a string 100 times to wofstream. I find that the values written
to wofstream stop after writing abut 25 lines (attached the output file:
What could be the issue? Bad or fail bit of wofstream are not set. So not
able to figure out where things are going wrong.
The gcc version Im using is: gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
Ive filed a bug already
Testcase could be found in the above link.
More information about the Gcc-help