`sig
type error =
NO_CONVERSION
| ILLEGAL_SEQUENCE
| FAILED
| PARTIAL_INPUT
| BAD_URI
| NOT_ABSOLUTE_PATH
exception Error of Glib.Convert.error * string
val convert : string -> to_codeset:string -> from_codeset:string -> string
val convert_with_fallback :
?fallback:string ->
to_codeset:string -> from_codeset:string -> string -> string
val locale_from_utf8 : string -> string
val locale_to_utf8 : string -> string
val filename_from_utf8 : string -> string
val filename_to_utf8 : string -> string
val filename_from_uri : string -> string option * string
val filename_to_uri : ?hostname:string -> string -> string
val get_charset : unit -> bool * string
end`