[CentOS] Unicode in C++
Michael D. Berger
m_d_berger_1900 at yahoo.com
Wed Feb 23 14:44:11 UTC 2011
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 at yahoo.com> wrote:
>> On my CentOS box, in C++ programs, is there a way to print Unicode
>> characters?
>>
>> Thanks,
>> Mike.
>
> Why do you want to?
Off topic.
> And what sort of monitor or client are you using?
> Xterm, Putty, NX, SSH,
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.
Thanks,
Mike.
More information about the CentOS
mailing list