public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/10534: wcout can only print ASCII,can't print other language,eg. chinese.
@ 2003-04-29  8:46 dragzhb
  0 siblings, 0 replies; only message in thread
From: dragzhb @ 2003-04-29  8:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10534
>Category:       libstdc++
>Synopsis:       wcout can only print ASCII,can't print other language,eg. chinese.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 08:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     dragzhb@yahoo.com.cn
>Release:        gcc-3.2.2
>Organization:
>Environment:
redhat linux 9.0
>Description:
wcout can only print ASCII,can't print other language,eg. chinese. this bug exist in gcc 3.1.* and 3.2.*, I have report this bug in gcc3.2 bug No. 8104.

The following is source code.

#include <iostream>

using namespace std;

int 
main(int argc, char** argv)
{
	const wchar_t* src  = L"hello &#20013;&#22269;";
	wcout << "src: " << src << endl;	

}
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-29  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-29  8:46 libstdc++/10534: wcout can only print ASCII,can't print other language,eg. chinese dragzhb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).