I'm unable to output wide characters to a browser using a cgi script and apache. The cgi script was written in C++. I am able to output wide characters to the console, or to a file, but NOT through apache for some reason. When I try to output wide characters, the output stream simply stops when it reaches the first non-ASCII character. However, this does not seem to be a unicode display issue - my browser is set to utf8, as is my application, and I can successfully output wide unicode characters to a console or a file - only apache is the problem.