possibility to insert non-utf8 characters inside document (solves #14)