Re: printf("%ls")



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.
--
"All human knowledge takes the form of interpretation."
-- Walter Benjamin
.



Relevant Pages

  • Re: create file, fail if already open
    ... Additional characters may follow these sequences. ... Based on the existence of this footnote and on the c89 text, ... safe to say that implementations that don't themselves use a flag, say, ...
    (comp.std.c)
  • Re: Whats going on with C Compilers and C99??
    ... not many implement C99. ... So most refer to it as C95. ... I was querying your comment that most implement C89. ... defined by the 1989 ANSI standard, which is the same language as the ...
    (comp.lang.c)
  • Re: Whats going on with C Compilers and C99??
    ... not many implement C99. ... So most refer to it as C95. ... I was querying your comment that most implement C89. ... defined by the 1989 ANSI standard, which is the same language as the ...
    (comp.lang.c)
  • Re: Why is the main() of Java void ?
    ... C89 says that the status is unspecified if the return from mainis ... C99 implicitly returns a status indicating "successful". ... What status does a Java program return to the host environment at the ... due to rampant unchecked spam. ...
    (comp.lang.java.programmer)
  • Re: SHA-1 in fully-portable C89?
    ... C89 implementation of the SHA-1 algorithm? ... You will probably want an ISO C95 version. ... C90 and some amendments in 93-95. ...
    (comp.lang.c)