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


Groups > comp.lang.c++ > #123072

Re: A nice "strlen()" for UTF-8 ...

From Michael S <already5chosen@yahoo.com>
Newsgroups comp.lang.c++
Subject Re: A nice "strlen()" for UTF-8 ...
Date 2025-11-24 19:16 +0200
Organization A noiseless patient Spider
Message-ID <20251124191604.0000674a@yahoo.com> (permalink)
References (5 earlier) <10fvfli$1k0h9$1@dont-email.me> <10g1hqt$2cra9$1@raubtier-asyl.eternal-september.org> <10g1ldd$2e5qr$1@dont-email.me> <10g1mlo$2eokm$1@raubtier-asyl.eternal-september.org> <10g1r2m$2g6c9$1@dont-email.me>

Show all headers | View raw


On Mon, 24 Nov 2025 15:45:42 +0100
David Brown <david.brown@hesbynett.no> wrote:

> On 24/11/2025 14:31, Bonita Montero wrote:
> > I don't understand your problem. You seem extremely obsessive. A 
> > character can be anything,
> > a Unicode code point or an ASCII character. The latter aren't
> > really characters in the literal
> > sense either, but that's what they're called.  
> 
> That's /your/ definition.
> 
> Use your own private definition if you want, but don't deride other 
> people for using correct definitions appropriate to the context.  You 
> made a function for counting Unicode code points from a UTF8 string. 
> That's great - it's a useful thing to do.  Just call it that instead
> of picking an inaccurate name for it.  What is your difficulty in
> using the simple, clear and correct term "code point" instead of a
> vague and poorly defined alternative?
> 

Do you happen to know what is represented by values of type 'char' in
Rust? :-)

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


Thread

A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-19 14:00 +0100
  Re: A nice "strlen()" for UTF-8 ... Lynn McGuire <lynnmcguire5@gmail.com> - 2025-11-19 12:59 -0600
    Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-20 15:25 +0100
  Re: A nice "strlen()" for UTF-8 ... Lynn McGuire <lynnmcguire5@gmail.com> - 2025-11-21 00:15 -0600
    Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-21 10:42 +0100
      Re: A nice "strlen()" for UTF-8 ... Alfred Peters <miteinere-mail-adresseindereinleitungszeilewirddieseoftzulang@geekmail.de> - 2025-11-23 13:22 +0100
        Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-23 17:35 +0100
          Re: A nice "strlen()" for UTF-8 ... David Brown <david.brown@hesbynett.no> - 2025-11-23 18:18 +0100
            Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-24 13:08 +0100
              Re: A nice "strlen()" for UTF-8 ... David Brown <david.brown@hesbynett.no> - 2025-11-24 14:09 +0100
                Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-24 14:31 +0100
                Re: A nice "strlen()" for UTF-8 ... David Brown <david.brown@hesbynett.no> - 2025-11-24 15:45 +0100
                Re: A nice "strlen()" for UTF-8 ... Bonita Montero <Bonita.Montero@gmail.com> - 2025-11-24 16:32 +0100
                Re: A nice "strlen()" for UTF-8 ... Michael S <already5chosen@yahoo.com> - 2025-11-24 19:16 +0200
                Re: A nice "strlen()" for UTF-8 ... David Brown <david.brown@hesbynett.no> - 2025-11-24 18:32 +0100
                Re: A nice "strlen()" for UTF-8 ... Michael S <already5chosen@yahoo.com> - 2025-11-24 19:51 +0200
                Re: A nice "strlen()" for UTF-8 ... Michael S <already5chosen@yahoo.com> - 2025-11-24 19:54 +0200
                Re: A nice "strlen()" for UTF-8 ... David Brown <david.brown@hesbynett.no> - 2025-11-24 21:14 +0100
            Re: A nice "strlen()" for UTF-8 ... Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2025-11-24 12:53 +0000

csiph-web