tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: c++: how to print UTF-8 characters in locale?



    Date:        Sun, 4 Aug 2019 21:55:13 +0300
    From:        Valery Ushakov <uwe%stderr.spb.ru@localhost>
    Message-ID:  <20190804185513.GD6456%pony.stderr.spb.ru@localhost>

  | On Sun, Aug 04, 2019 at 17:25:38 +0200, Thomas Klausner wrote:
  |
  | > where the space is a 0xC2A0 non-breaking space.
  |
  | Nit-pick: 0xc2a0 is a very misleading way to write it.
  | It is 0xc2 0xa0 which is utf-8 encoding of \u00a0

That was actually me, and yes, I agree - I realised that after I sent it.

(In my early days I mostly only ever used big-endian systems, and I
still generally think that way, 0xC2A0 is C2 followed by A0 ...)

kre



Home | Main Index | Thread Index | Old Index