fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
check_utf8_sequence
Subroutine
23 statements
Source File
fortplot_unicode.f90
fortplot_unicode
check_utf8_sequence
Contents
public subroutine check_utf8_sequence(text, start_pos, is_valid, seq_len)
Check if UTF-8 sequence is valid and return its length
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
text
integer,
intent(in)
::
start_pos
logical,
intent(out)
::
is_valid
integer,
intent(out)
::
seq_len