diff options
Diffstat (limited to 'lib/unicode.mli')
-rw-r--r-- | lib/unicode.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/unicode.mli b/lib/unicode.mli index 72d1f2950..b8a11e294 100644 --- a/lib/unicode.mli +++ b/lib/unicode.mli @@ -36,3 +36,6 @@ val is_basic_ascii : string -> bool translated to ["__Uxxxx_"] where {i xxxx} are four hexadecimal digits. @raise Unsupported if the input string contains unsupported UTF-8 characters. *) val ascii_of_ident : string -> string + +(** Validate an UTF-8 string *) +val is_utf8 : string -> bool |