utf8_char_length Function

public function utf8_char_length(char)

Determine the number of bytes in a UTF-8 character

Arguments

Type IntentOptional Attributes Name
character(len=1), intent(in) :: char

Return Value integer