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 "'melcher.... 17:33 Jul 20  
 

er...@seriss.com schrieb am Montag, 20. Juli 2026 um 18:43:07 UTC+2:

That was ssurprsingly entertaining for me ;-D

So how about (which could be confused with the start and end of a string):
`fl_utf8_is_head()` and `fl_utf8_is_tail()`
or the long version which makes the job very clear
`fl_utf8_is_leading_byte()` and `fl_utf8_is_trailing_byte()` or `fl_utf8_is_continuation_byte()`


--
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/12633634-c236-4b1b-bfb9-c3f57b438bf4n%40googlegroups.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'.