diff --git a/doc/book/msg.tex b/doc/book/msg.tex index 9e43427e..5ebfe93b 100644 --- a/doc/book/msg.tex +++ b/doc/book/msg.tex @@ -47,10 +47,10 @@ vmime::charset ch(vmime::charsets::UTF_8); std::cout << "The subject of the message is: " - << hdr->Subject()->getValue().dynamicCast ()->getDecodedText(ch) + << hdr->Subject()->getValue().dynamicCast ()->getConvertedText(ch) << std::endl << "It was sent by: " - << hdr->From()->getValue().dynamicCast ()->getName().getDecodedText(ch) + << hdr->From()->getValue().dynamicCast ()->getName().getConvertedText(ch) << " (email: " << hdr->From()->getValue().getEmail() << ")" << std::endl; \end{lstlisting}