FLTK logo

Re: [fltk.coredev] RFC/vote: A fl_utf8 function for detecting continuation bytes

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  All Forums  |  Back to fltk.coredev  ]
 
[ Previous Message ] [ New Message | Reply ] [ Next Message ]

Re: RFC/vote: A fl_utf8 function for detecting continuation bytes Greg Ercolano 16:13 Jul 20  
 

The question for a good name of this new function remains. I propose:

(1) fl_utf8_is_continuation()
(2) fl_utf8_is_cont()
(3) fl_utf8_continuation()
(4) fl_utf8_cont()
(5) none of these, I propose: ...

    +1 for (2) only because:

  • it's short
  • I like "is" as it implies a test and a boolean return
  • "continuation" is correct terminology based on the this wikipedia utf8 page
    I did some further research in the "continuation" terminology, and was surprised to find: while the wikipedia page uses it, the RFCs for the UTF-8 spec and Unicode specs does not.

    I went down that rabbit hole, and I'll follow up separately in this thread with all that noise, but in the end I think "continuation" is fine.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fltkcoredev/f238f672-036f-4e44-98da-88b12886b193%40seriss.com.
[ Direct Link to Message ]
 
     
[ Previous Message ] [ New Message | Reply ] [ Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.