On Mon, Jan 05, 2004 at 11:14:34PM +0200, Offer Kaye wrote: > > > > I am using fetchyahoo to fetch my mail of yahoo to a local machine. > > The problem is that I am currently suspecting it of failing > > to download > > hebrew emails properly. All such emails I get are all ??? and other > > people receiving the same mail when its a group mail don't have the > > same problems (some of them also on yahoo). > > fetchyahoo is a perl script that just connects to yahoo via the web > > interface and downloads the emails that way. > > Any idea how I would go about making it 8-bit encoding friendly ? > > (possible also utf8 since most such mail originates on windows in my > > case) > > > > Thanx > > > > The other people you mention who get these Hebrew emails okay, are they > also using the fetchyahoo script?
No, your conclusion would be obvious in this case. They are accessing yahoo directly. I mentioned them since this points at fetchyahoo not some mail router along the way (since it was sent from the same person to the same target). I am getting the titles in hebrew, but the body appears as all question marks. I am not aware of perl enough, should this be affected by the locale settings? > I'm asking because I took a look at the source of the script, and saw > there: > $request = GET $baseurl . sprintf($bodyPartUrlTemplate, $msgid, > "TEXT"); > > Which looked suspicious to me. So if other people are using this script > to fetch Hebrew (or other International emails) successfully, the > problem is not in the script but in your setup (for example, are you > running Perl 5.7.3 or higher? Unicode support in Perl before 5.7.3 is > buggy). If you are not the only one experiencing these problems, the > problem may be in the script. I'm afraid this script is a bit too long > for me to debug off-hand, and I also have little direct experience with > the modules used, so this is the best I can do... :-) > > A few of suggestions: > 1. Try sending yourself (and then fetching) an email with the Hebrew in > an attached HTML page. Did it arrive correctly? > 2. Make sure you are running Perl 5.8.0. > 3. Contact the developer of the script and ask him (nicely). > 4. Email this question to [EMAIL PROTECTED] . Some very good Perl people > on that list ;-) > > Hope this helps, > Offer Kaye > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]