Re: Unicode in C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx> 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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux