Re: printf("%ls")
- From: Ioannis Vranos <ivranos@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 01:35:52 +0200
Walter Roberson wrote:
In article <fq7evp$11g8$1@xxxxxxxxxxxxxxxxxxx>,
Ioannis Vranos <ivranos@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Is printf("%ls") for printing wchar_t strings defined in C90, or it was added in C95?
It was not present in C89 -- which has a specific footnote for %s
indicating that no special provision is made for multibyte characters.
So what is the need of printf("%ls") in C95 since we got wprintf()?
Wan't there any possibility to print wide-character strings or wchar_ts under C90 directly?
.
- Follow-Ups:
- Re: printf("%ls")
- From: Micah Cowan
- Re: printf("%ls")
- References:
- printf("%ls")
- From: Ioannis Vranos
- Re: printf("%ls")
- From: Walter Roberson
- printf("%ls")
- Prev by Date: Re: Variable-sized lines of text in linked list (long)
- Next by Date: Re: Legal C or bug in gcc
- Previous by thread: Re: printf("%ls")
- Next by thread: Re: printf("%ls")
- Index(es):