------- Comment #2 from radhika dot ganganna at oracle dot com 2009-01-07 06:35 ------- Hi, Thanks for the reply. I would send the testcase soon. The issue seems to be that the output sent to wofstream stops updating the stream after certain number of characters. In our case it's after 400+ characters. Has anybdy else faced this issue before? I tried using flush(). This writes some more data to stream. But still lot of data is missing. How to sync the data in buffer with data written to file. Please let me know.
Regards, Radhika (In reply to comment #1) > You did not supply a full testcase so it is hard to tell what is going on. > Can > you produce a short testcase which shows the problem. It might be because the > wide character is an invalid character. Since you are shifting the character > by 16, I would almost say this is always going to be an invalid character. > If str is already a wstring, then str[i] will already be a wchar_t and you > don't have to shift the value. -- radhika dot ganganna at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |radhika dot ganganna at | |oracle dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38741