🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Jacks Sat, 05 Aug 2006 11:20
[Xnews] Simple online converter for UTF-8 ?
#188855
Author: Jacks
Date: Sat, 05 Aug 2006 11:20
39 lines
2237 bytes
In Xnews I can't read all the "From" info.  I think this is because 
it is in UTF-8 (?) and Xnews does not support that.

Solutions posted here in the past have suggested:

(a) hovering the mouse (which still not work for me as I still see 
the mumbo-jumbo in the popup tooltip) 

(b) using a MIME proxy such as 
http://www.lamaiziere.net/mp_readme.html.  This seems like an 
overkill and is messier than i want to get involved in.

Is there a nice simple way to cut and paste the mumbo-jumbo into an 
online text converter?  If so then what character string do I need to 
cut and paste and what target codeset do I want?

--------

For example, I have seen this in the FROM field:

             ?Utf-8?B?THVrZSBDaGFsbWVycw==?=

By using Google Groups to lookup the message, it seems that this 
should be read as:
                  Doug Sherman [MVP]


(1) To do this conversion myself, presumably I trim off "?UTF-8?B?" 
from the beginning and "==?=" from the end.  

(2) Then I take "THVrZSBDaGFsbWVycw" (without the quotes) and use an 
online webpage to convert to ISO-8859-1.

(3) This is such an onlne converter
http://www.motobit.com/util/charset-codepage-conversion.asp

But all this doesn't seem to work.  :-(

Can someone tell me where this is going wrong?
Re: [Xnews] Simple online converter for UTF-8 ?
#188859
Author: John Wunderlich
Date: Sat, 05 Aug 2006 20:19
89 lines
4449 bytes
Jacks <nonono@co.co.co> wrote in
news:Xns98167D77641721F3E91@127.0.0.1: 

> In Xnews I can't read all the "From" info.  I think this is
> because it is in UTF-8 (?) and Xnews does not support that.

Yes, your statement is correct.
Remember that UTF-8 maps directly into standard ASCII for all
characters in the range 00 - 7f Hex (which represents the entire
English keyboard) so I guess you might say that Xnews does have
UTF-8 support for English characters.

> 
> Solutions posted here in the past have suggested:
> 
> (a) hovering the mouse (which still not work for me as I still see
> the mumbo-jumbo in the popup tooltip) 
> 
> (b) using a MIME proxy such as 
> http://www.lamaiziere.net/mp_readme.html.  This seems like an 
> overkill and is messier than i want to get involved in.
> 
> Is there a nice simple way to cut and paste the mumbo-jumbo into
> an online text converter?  If so then what character string do I
> need to cut and paste and what target codeset do I want?

Why?  Every ?UTF-8? field that I have seen is followed by a
space and its ASCII equivalent which is readable by Xnews.  Anything
else is definitely too messy. 

> For example, I have seen this in the FROM field:
> 
>              ?Utf-8?B?THVrZSBDaGFsbWVycw==?=
> 
> By using Google Groups to lookup the message, it seems that this 
> should be read as:
>                   Doug Sherman [MVP]

Wrong.  See RFC2047.  The "?" characters are delimiters.
The "?Utf-8?" tells you that what follows is in UTF-8 format.
The "?B?" tells you that what follows is MIME encoded.
MIME Decoding takes a block of Four characters and converts it to
three [in this case] UTF-8 bytes. In this case, all characters are
in the range where no UTF8-to-ASCII translation is required...

"THVr" decodes to "Luk"
"ZSBD" decodes to "e C"
"aGFs" decodes to "hal"
"bWVy" decodes to "mer"
"cw==" decodes to "s"

Therefore, this decodes to "Luke Chalmers", not "Doug Sherman".

One such message from Luke Chalmers is Message ID
 <D6F410C8-A33F-42CA-A53F-6C6A88A284CF@microsoft.com>

By hovering the cursor over the "From" field for this post, 
you will see:
=?Utf-8?B?THVrZSBDaGFsbWVycw==?= <LukeChalmers@discussions.microsoft.com>

This has more readable information in it than is encoded in the
UTF-8 part.  Why mess with it?

> (1) To do this conversion myself, presumably I trim off
> "?UTF-8?B?" from the beginning and "==?=" from the end.  
> 
> (2) Then I take "THVrZSBDaGFsbWVycw" (without the quotes) and use
> an online webpage to convert to ISO-8859-1.

... and it converts nicely as shown above...
Remember, you need a MIME (Base-64) decoder, not a UTF-8 decoder 
at this stage.

> 
> (3) This is such an onlne converter
> http://www.motobit.com/util/charset-codepage-conversion.asp

This is a UTF-8 converter.  What you need is a MIME converter.  As
stated earlier, all characters in this encoding do not require a
UTF-8 -> Ascii translation.  That's the beauty of UTF-8

> But all this doesn't seem to work.  :-(
> 
> Can someone tell me where this is going wrong?
> 

Hope this helps,
   John
Re: [Xnews] Simple online converter for UTF-8 ?
#188860
Author: Erland Sommarskog
Date: Sat, 05 Aug 2006 22:00
20 lines
1929 bytes
Jacks (nonono@co.co.co) writes:
> (b) using a MIME proxy such as 
> http://www.lamaiziere.net/mp_readme.html.  This seems like an 
> overkill and is messier than i want to get involved in.
 
Pas de tout. I use MIME-proxy and I'm happy with it. Of course, since I'm
very active in a few microsoft.public.* newsgroups, I'm quite dependent
on seeing names in clear text.

Setting up MIME-proxy takes maybe 15-20 minutes including time for reading
documentation. Once it's running, you don't have think much about it.


...of course, it would be a lot better if Xnews supported Unicode and 
UTF-8, but Luu does not seem to need that, so it's not going to happen.
(I have to admit that I find it a little strange. Does he never write in
Vietnamese? :-)

-- 
Erland Sommarskog, Stockholm, esquel@sommarskog.se
Re: [Xnews] Simple online converter for UTF-8 ?
#188876
Author: OnTheWave
Date: Sun, 06 Aug 2006 15:46
15 lines
1869 bytes
"Erland Sommarskog" ha attirato la mia attenzione scrivendo su
news.software.readers il giorno dom 06 ago 2006 00:00:47 : 

[CUT]
> ...of course, it would be a lot better if Xnews supported Unicode
> and UTF-8, but Luu does not seem to need that, so it's not going
> to happen. (I have to admit that I find it a little strange. Does
> he never write in Vietnamese? :-)

Yeah, how can he read/write in both languages at the same time,
without MIME support?! :-( 

-- 
http://pinoradioattivo.altervista.org (my website)
http://wiki.news.nic.it/QuotarBene (a good rule...)
Re: [Xnews] Simple online converter for UTF-8 ?
#188875
Author: Mozzy
Date: Sun, 06 Aug 2006 18:13
18 lines
1504 bytes
John, thank you for talking me through all those points..


On 05 Aug 2006, John Wunderlich<jwunderlich@lycos.com> wrote:
>
> By hovering the cursor over the "From" field for this post, 
> you will see:
> =?Utf-8?B?THVrZSBDaGFsbWVycw==?=
> <LukeChalmers@discussions.microsoft.com> 
> 
> This has more readable information in it than is encoded in the
> UTF-8 part.  Why mess with it?


That's a neat example but often the email address is not going to 
contain the same data as sender's name field.

Re: [Xnews] Simple online converter for UTF-8 ?
#188874
Author: Mozzy
Date: Sun, 06 Aug 2006 18:15
34 lines
2232 bytes
On 05 Aug 2006, Erland Sommarskog<esquel@sommarskog.se> wrote:

> Jacks (nonono@co.co.co) writes:
>> (b) using a MIME proxy such as 
>> http://www.lamaiziere.net/mp_readme.html.  This seems like an 
>> overkill and is messier than i want to get involved in.
>  
> Pas de tout. I use MIME-proxy and I'm happy with it. Of course,
> since I'm very active in a few microsoft.public.* newsgroups, I'm
> quite dependent on seeing names in clear text.
> 
> Setting up MIME-proxy takes maybe 15-20 minutes including time for
> reading documentation. Once it's running, you don't have think much
> about it. 
> 
> 
> ...of course, it would be a lot better if Xnews supported Unicode
> and UTF-8, but Luu does not seem to need that, so it's not going to
> happen. (I have to admit that I find it a little strange. Does he
> never write in Vietnamese? :-)
> 


ISTR hitting problems with Hamster and have steered clear of proxies 
ever since.

Does a MIME proxy let you work with multiple servers?

Do you have to define/remove servers which are new/deleted?

Do you have to explicitly request the proxy to do a fetch before 
Xnews can act on and show the data retrieved by the proxy.

Or is the proxy entirely transparent?
Re: [Xnews] Simple online converter for UTF-8 ?
#188879
Author: XS11E
Date: Sun, 06 Aug 2006 19:02
21 lines
1779 bytes
Mozzy <demo@account.com> wrote in
news:Xns9817C3E1CFCEF01A4D@127.0.0.1: 

> Does a MIME proxy let you work with multiple servers?
> 
> Do you have to define/remove servers which are new/deleted?

New ones, yes.  When a server is deleted you can delete the info in 
mproxy.ini but there's no reason to do so.

FWIW, I've found I need configure MIME Proxy *only* for 
msnews.microsoft.com, no other server seems to need it.
 
> Do you have to explicitly request the proxy to do a fetch before 
> Xnews can act on and show the data retrieved by the proxy.
> 
> Or is the proxy entirely transparent?

It's entirely transparent once it's been started.  I start it with a 
batch file in my startup folder so it's always there if needed. 
Re: [Xnews] Simple online converter for UTF-8 ?
#188880
Author: XS11E
Date: Sun, 06 Aug 2006 19:18
45 lines
2035 bytes
XS11E <xs11eNO@SPAMyahoo.com> wrote in 
news:Xns98177A68E4595xs11eyahoocom@70.168.83.30:

> It's entirely transparent once it's been started.  I start it with a 
> batch file in my startup folder so it's always there if needed. 

Sorry, I should add my batch file is:

E:\Xnews\MimeProxy\mproxy.exe mproxy.ini -low_memory -free_console

I've installed MimeProxy on drive "E", change the "E" to where ever you 
install it.

My mproxy.ini is simply the sample_mproxy.ini file with this line added 
to the proxys section:

Microsoft_free = 6000, msnews.microsoft.com, 119, nntp

and the smtp and pop lines are commented out as well as the name 
changed to mproxy.ini

I can post the whole thing if you like?

In Xnews I've changed the server for msnews.microsoft.com to 127.0.0.1 
and the port number is changed to 6000.

I think that's it?

Someone?  Is there anything else needs be done to run MimeProxy?















Re: [Xnews] Simple online converter for UTF-8 ?
#188881
Author: Patrick Lamaizière
Date: Sun, 06 Aug 2006 20:32
28 lines
2699 bytes
XS11E écrivait :

> E:\Xnews\MimeProxy\mproxy.exe mproxy.ini -low_memory -free_console

-low_memory is not very usefull, i don't see any difference between
low_memory and high_memory. May be high_memory is usefull on a very
slow machine with plenty of RAM.
 
> Someone?  Is there anything else needs be done to run MimeProxy?

Well the main parameters are:

client_charset: the charset used by the newsreader to post and to
display. By sample on a French Windows it is windows-1252, for a Polish
Windows it is windows-1250, etc. You have to adapt this parameter to
your native Windows charset.

charsets: the list of charsets to use when posting an article. The list
depends of the news hierarchy. On fr.* we use iso-8859-1 and
iso-8859-15. Iso-8858-1 charset is more readable by old newsreaders
(like Xnews). So it is better to use iso-8859-1, and when required
iso-8858-15: charsets= iso-8859-1, iso-8859-15 (us-ascii is always the
first charset in this list).

default_charset: When reading an article or with the XOVER command, the
charset to use if the article does not define any charset.

Other parameters should be ok by default.
Re: [Xnews] Simple online converter for UTF-8 ?
#188882
Author: XS11E
Date: Sun, 06 Aug 2006 21:40
44 lines
2718 bytes
Patrick Lamaizière <adresse@est.invalid> wrote in
news:XnsBE279F9FBEB14plam@nulle.invalid: 

> XS11E écrivait :
> 
>> E:\Xnews\MimeProxy\mproxy.exe mproxy.ini -low_memory
>> -free_console 
> 
> -low_memory is not very usefull, i don't see any difference
> between low_memory and high_memory. May be high_memory is usefull
> on a very slow machine with plenty of RAM.

It doesn't seem to make any difference one way or the other?  I've 
tried low, high and leaving out the parameter.

I've a slow machine with little RAM by today's standards, AMD Athlon 
64, 3400+, 1Gbyte of RAM.  It was, of course, completely and totally 
obsolete by the time I got home from the store with the motherboard and 
CPU. <sigh>  I'd upgrade but no matter what I get it'll be last 
century's technology before I can get to the checkout counter. :-(
  
>> Someone?  Is there anything else needs be done to run MimeProxy?
 
> default_charset: When reading an article or with the XOVER
> command, the charset to use if the article does not define any
> charset. 

The OP led me to think he was having problems with msnews.microsoft.com 
because he mentioned a post from a MS MVP.  The default works for that 
server and I'd suggest he try that first as it's easier to use defaults 
if possible.

I've never needed Mime Proxy for any other server but I only use a 
few...  If he needs to alter the charset for another server he can ask 
again and list the servers that are causing the problem, someone can 
show him what to add to the .ini file.







Re: [Xnews] Simple online converter for UTF-8 ?
#188884
Author: Frank Slootweg
Date: Mon, 07 Aug 2006 09:59
18 lines
1816 bytes
John Wunderlich <jwunderlich@lycos.com> wrote:
> Jacks <nonono@co.co.co> wrote in
> news:Xns98167D77641721F3E91@127.0.0.1: 
> 
> > In Xnews I can't read all the "From" info.  I think this is
> > because it is in UTF-8 (?) and Xnews does not support that.
> 
> Yes, your statement is correct.
> Remember that UTF-8 maps directly into standard ASCII for all
> characters in the range 00 - 7f Hex (which represents the entire
> English keyboard) so I guess you might say that Xnews does have
> UTF-8 support for English characters.

  Minor but important nit:

  Make that *US* English (keyboard/characters), i.e. the 'A' in ASCII.

[deleted]
Re: [Xnews] Simple online converter for UTF-8 ?
#188899
Author: Ralph Fox
Date: Mon, 07 Aug 2006 20:04
53 lines
2928 bytes
On Sat, 05 Aug 2006 12:20:01 +0100, in message <Xns98167D77641721F3E91@127.0.0.1>,
Jacks wrote:

> For example, I have seen this in the FROM field:
> 
>              ?Utf-8?B?THVrZSBDaGFsbWVycw==?=
                      ^
                      |

And this ?B? means that it is Base-64 encoded.


> By using Google Groups to lookup the message, it seems that this 
> should be read as:
>                   Doug Sherman [MVP]
> 
> 
> (1) To do this conversion myself, presumably I trim off "?UTF-8?B?" 
> from the beginning and "==?=" from the end.  

Just the ?= from the end.

> (2) Then I take "THVrZSBDaGFsbWVycw" (without the quotes) and use an 
> online webpage to convert to ISO-8859-1.

You take the "B?THVrZSBDaGFsbWVycw==" (without the quotes),
and run it through a Base-64 decoder.

The you take what came out of the Base-64 decoder, and convert
that from UTF-8 to ISO-8859-1.


> (3) This is such an onlne converter
> http://www.motobit.com/util/charset-codepage-conversion.asp
> 
> But all this doesn't seem to work.  :-(

It is probably not decoding Base-64.


> Can someone tell me where this is going wrong?


Two things
(1)  Trim ?= from the end, not ==?=
(2)  You need to run the "B?THVrZSBDaGFsbWVycw==" through a Base-64
     decoder before you run it through a UTF-8 to ISO-8859-1 converter.


-- 
Cheers,
Ralph
Re: [Xnews] Simple online converter for UTF-8 ?
#196411
Author: XS11E
Date: Thu, 08 Mar 2007 19:27
22 lines
1837 bytes
Jacks <nonono@co.co.co> wrote:

> In Xnews I can't read all the "From" info.  I think this is
> because it is in UTF-8 (?) and Xnews does not support that.
> 
> Solutions posted here in the past have suggested:
> 
> (a) hovering the mouse (which still not work for me as I still see
> the mumbo-jumbo in the popup tooltip) 
> 
> (b) using a MIME proxy such as 
> http://www.lamaiziere.net/mp_readme.html.  This seems like an 
> overkill and is messier than i want to get involved in.

I use MimeProxy, it's easy to setup, installs itself when I boot up the 
computer (there are other ways but that seems easiest) and then runs 
completely unnoticed.  I can't consider it messy, I don't even know 
it's there.

I doubt that there is a way to do as you want but maybe someone else 
can help?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads