FLTK logo

Re: [RFE] STR #2822: Fl_Input UTF-8 handling

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

Re: [RFE] STR #2822: Fl_Input UTF-8 handling Matthias Melcher Jan 20, 2023  
 
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: https://www.fltk.org/str.php?L2822
Version: 1.4-feature


You can convert between number of bytes and number of characters with:

int fl_utf_nb_char(const unsigned char *buf, int len);

and

int fl_utf8strlen(const char *text, int len)


Link: https://www.fltk.org/str.php?L2822
Version: 1.4-feature

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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