On Wed, Feb 23, 2011 at 02:44:11PM +0000, Michael D. Berger wrote:
On Tue, 22 Feb 2011 19:51:38 -0500, Nico Kadel-Garcia wrote:
On Tue, Feb 22, 2011 at 5:37 PM, Michael D. Berger m_d_berger_1900@yahoo.com wrote:
On my CentOS box, in C++ programs, is there a way to print Unicode characters?
And what sort of monitor or client are you using? Xterm, Putty, NX, SSH,
Xterm.
Make sure to use uxterm, not xterm. (Should be included with any installation of xterm.)
And what do you mean by "print"? Do you mean send to a printer, or get them to display correctly on your screen?
cout << <Unicode characters> << endl;
and they will appear on my screen, or:
ofstream os("myfile"); os << <Unicode characters> << endl;
And they will appear in myfile which may them be printed or edited with vi.
Depending upon the characters, you may not be able to get them in a console, but as long as you're using X, they should appear in an xterm.