# Module Sedlexing.Utf8

    module Utf8: sig .. end

    val from_gen : char Gen.t -> Sedlexing.lexbuf

Create a lexbuf from a UTF-8 encoded stream.

    val from_stream : char Stdlib.Stream.t -> Sedlexing.lexbuf

Create a lexbuf from a UTF-8 encoded stream.

    val from_channel : Stdlib.in_channel -> Sedlexing.lexbuf

Create a lexbuf from a UTF-8 encoded input channel.

    val from_string : string -> Sedlexing.lexbuf

Create a lexbuf from a UTF-8 encoded string.

    val lexeme : Sedlexing.lexbuf -> string

As `Sedlexing.lexeme` with a result encoded in UTF-8.

    val sub_lexeme : Sedlexing.lexbuf -> int -> int -> string

As `Sedlexing.sub_lexeme` with a result encoded in UTF-8.