let to_ascii_exn ?(offset=`offset33) t =
  match to_ascii ~offset t with
  | Some s -> s
  | None ->
    Error (sprintf "%d with offset %d cannot be encoded as a visible ASCII character" t (int_of_offset offset)) |! raise