Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #97684

Re: UTF-8 with C, simply

From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.lang.c
Subject Re: UTF-8 with C, simply
Date 2016-11-28 21:55 +0100
Organization solani.org
Message-ID <o1i5jd$ik1$2@solani.org> (permalink)
References <6a3e7ab3-eb0d-4794-befb-adae3729c746@googlegroups.com> <o1gqmo$cnl$1@gioia.aioe.org> <o1hdph$km3$1@dont-email.me>

Show all headers | View raw


>> under newer C-standards you can use data-types char16_t and char32_t 
>> (from header uchar.h),
>> they are meant to be utf16 and utf32 respectively
> 
> That's only true on implementations that choose to pre#define
> __STDC_UTF_16__ or __STDC_UTF_32__, respectively. Otherwise, the
> encoding associated with those typedefs is implementation-defined
> (6.10.8.2p1). Of course, this is a significant improvement over wchar_t,
> for which no such macros are available.
> 

How about __STDC_ISO_10646__?

Philipp

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

UTF-8 with C, simply luser droog <luser.droog@gmail.com> - 2016-11-27 18:09 -0800
  Re: UTF-8 with C, simply James Kuyper <jameskuyper@verizon.net> - 2016-11-27 22:05 -0500
  Re: UTF-8 with C, simply Lorinczy Zsigmond <zsiga@nospam.for.me> - 2016-11-28 09:42 +0100
    Re: UTF-8 with C, simply James Kuyper <jameskuyper@verizon.net> - 2016-11-28 09:10 -0500
      Re: UTF-8 with C, simply Philipp Klaus Krause <pkk@spth.de> - 2016-11-28 21:55 +0100
        Re: UTF-8 with C, simply "James R. Kuyper" <jameskuyper@verizon.net> - 2016-11-28 16:18 -0500
  Re: UTF-8 with C, simply Siri Cruise <chine.bleu@yahoo.com> - 2016-11-28 07:00 -0800
    Re: UTF-8 with C, simply Philipp Klaus Krause <pkk@spth.de> - 2016-11-28 21:53 +0100
    Re: UTF-8 with C, simply Keith Thompson <kst-u@mib.org> - 2016-11-28 21:38 -0800
  Re: UTF-8 with C, simply Nobody <nobody@nowhere.invalid> - 2016-12-01 01:52 +0000
    Re: UTF-8 with C, simply luser droog <luser.droog@gmail.com> - 2016-11-30 18:20 -0800
      Re: UTF-8 with C, simply luser droog <luser.droog@gmail.com> - 2016-11-30 18:25 -0800
        Re: UTF-8 with C, simply luser droog <luser.droog@gmail.com> - 2016-11-30 18:28 -0800

csiph-web