diff options
| author | Pierre-Marie Pédrot | 2016-03-05 21:47:12 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-03-05 21:47:12 +0100 |
| commit | f8b624f7bec0406258eee4e08b0cec8d756da6ff (patch) | |
| tree | 874c450f7d350455884d409bcfe6bafa44af7b47 /lib/unicode.mli | |
| parent | eb0feed6d22c11c44e7091c64ce5b1c9d5af987a (diff) | |
| parent | 32baedf7a3aebb96f7dd2c7d90a1aef40ed93792 (diff) | |
Merge branch 'v8.5'
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 72d1f29504..b8a11e2945 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 |
