blob: 73a95f487b45a053dbd5b5350e6c3e96c7ee6f57 [file] [log] [blame] [edit]
type codepoint = int
type unicode = codepoint list
exception Utf8
val decode : string -> unicode (* raises Utf8 *)
val encode : unicode -> string (* raises Utf8 *)