Fixed encoding of unicode literals in nt documents

close #219