Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Nov : TIdNNTP TIdMessage.From.Name utf 8 ?
| Subject: | TIdNNTP TIdMessage.From.Name utf 8 ? |
| Posted by: | "Brian Cryer" (bria..@127.0.0.1.activesol.co.uk) |
| Date: | Tue, 8 Nov 2005 13:48:51 |
I'm using the Indy TIdNNTP component to read messages from a newsgroup
server. Something I've noticed is that occasionally I get a garbled
from-name - TIdMessage.From.Name doesn't return me a name like I would
expect but something garbled like:
"=?Utf-8?B?QWRyaWFuIH4gRm9vYmFyU29mdHdhcmUuY29t?="
I'm assuming from the fact that "Utf-8" always appears at the start of this,
that I need to be doing some converting. Any ideas or pointers?
Thanks in advance.
--
Brian Cryer
www.cryer.co.uk/brian