Problem writing unicode data to wofstream
Radhika M G
radhika.ganganna@oracle.com
Fri Jan 9 03:23:00 GMT 2009
Hi,
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:
rad.csv).
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
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38741).
Testcase could be found in the above link.
Regards.
Radhika
More information about the Gcc-help
mailing list