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


Groups > comp.lang.c > #93236

Re: "Unicode"

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c++, comp.lang.c
Subject Re: "Unicode"
Date Mon, 05 Sep 2016 15:35:54 -0700
Organization None to speak of
Lines 18
Message-ID <lnoa427z5h.fsf@kst-u.example.com> (permalink)
References <nq1q2v$27u$1@dont-email.me> <SJKdnRkgGbIMCFXKnZ2dnUU7-IudnZ2d@giganews.com> <57ca82af.1170031@news.xs4all.nl> <CdWdnXTpDriIvVbKnZ2dnUU7-RPNnZ2d@giganews.com> <nqgk47$4lk$1@dont-email.me> <pOednauObeYFmlHKnZ2dnUU78dvNnZ2d@giganews.com> <nqjirt$vpo$1@dont-email.me> <Ws-dnYz0qrbS-FDKnZ2dnUU78ePNnZ2d@giganews.com> <nqjuj9$8be$1@dont-email.me> <EM6dnbyvJ6TlXFDKnZ2dnUU78f_NnZ2d@giganews.com> <nqkpjp$ldi$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="22525"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18g9hUjg/ltOk3Q3cibSQFy"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:WLhIrilz+FCwpuCIJy510n4mKDM= sha1:HJbIqvAi5Pk9yYAwgqm2w13r4yI=
Xref csiph.com comp.lang.c++:44883 comp.lang.c:93236

Cross-posted to 2 groups.

Show key headers only | View raw


"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> writes:
[...]
> Most (all?) g++ distros for Windows default to UTF-8 as the C++ 
> execution character set. So ideally one could just use the narrow string 
> directly for g++, i.e., a little compiler dependency, that's not a large 
> cost. Unfortunately in Windows the default g++ standard library 
> implementations expect Windows ANSI, i.e. incompatible with the 
> compiler's C++ execution character set, and there's no way to change the 
> locale to an UTF-8 one.

"ANSI" is an incorrect name for the Windows-1252 8-bit character set
(and related code pages).  Even Microsoft no longer calls it that.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

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


Thread

"Unicode" Lynn McGuire <lynnmcguire5@gmail.com> - 2016-08-29 12:06 -0500
  Re: "Unicode" Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> - 2016-09-01 21:54 +0100
    Re: "Unicode" raltbos@xs4all.nl (Richard Bos) - 2016-09-03 08:00 +0000
      Re: "Unicode" Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> - 2016-09-03 14:10 -0500
        Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-04 09:56 +0200
          Re: "Unicode" Paavo Helde <myfirstname@osa.pri.ee> - 2016-09-04 14:37 +0300
            Re: "Unicode" Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-04 23:57 -0700
            Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-05 12:53 +0200
              Re: "Unicode" Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-05 04:51 -0700
              Re: "Unicode" Paavo Helde <myfirstname@osa.pri.ee> - 2016-09-05 15:30 +0300
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-05 16:13 +0200
                Re: "Unicode" Paavo Helde <myfirstname@osa.pri.ee> - 2016-09-05 22:03 +0300
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-05 23:54 +0200
                Re: "Unicode" Keith Thompson <kst-u@mib.org> - 2016-09-05 15:35 -0700
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-06 00:18 +0200
                Re: "Unicode" Keith Thompson <kst-u@mib.org> - 2016-09-05 16:17 -0700
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-06 01:20 +0200
                Re: "Unicode" Keith Thompson <kst-u@mib.org> - 2016-09-05 17:16 -0700
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-06 02:42 +0200
                Re: "Unicode" Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-09-05 17:07 -0700
                Re: "Unicode" Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> - 2016-09-05 23:05 +0100
          Re: "Unicode" Vir Campestris <vir.campestris@invalid.invalid> - 2016-09-04 21:37 +0100
            Re: "Unicode" Paavo Helde <myfirstname@osa.pri.ee> - 2016-09-05 00:22 +0300
              Re: "Unicode" Vir Campestris <vir.campestris@invalid.invalid> - 2016-09-05 21:32 +0100
                Re: "Unicode" Paavo Helde <myfirstname@osa.pri.ee> - 2016-09-06 00:00 +0300
                Re: "Unicode" Vir Campestris <vir.campestris@invalid.invalid> - 2016-09-07 21:19 +0100
                Re: "Unicode" "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-09-08 02:16 +0200

csiph-web