changed default file encoding to UTF-8
added support for formatted text in paragraphs