Reading the message in pico shows the same thing, no \xa character at all. The way you see it below is the way it is, there is not character like that at all in the message itself. I have attached the message in an attachment though. If I place exactly what is in this text file (the attachment) in my pending it dumps.
I believe that the /xa0 is actually coming from Unicode.py or something
right before it.
There seems to be a substitution piece of code in Unicode.py to maybe
prevent dumping on reading the message with tmda-cgi with certain
characters but instead is doing harm. So tmda-cgi is trying to do a
substitution? I know it is not tmda itself because the message sitting
in pending is all good, it is only on read in tmda-cgi.
Example...
AltChar = re.compile("[\x80-\xFF]")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
def Iso8859(Str):
RetVal = u""
while 1:
Match = AltChar.search(Str)
if Match:
RetVal += Str[:Match.start()] + Xlate(Match.group(0))
Str = Str[Match.end():]
else:
break
RetVal += Str
Sam
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jim Ramsay
Sent: Tuesday, May 04, 2004 11:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Unicode Error - TMDA-CGI 0.13 pending list
Samuel Hill wrote:
> I posted some Unicode errrors before but here is another.
> I still have not found a solution for these errors.
> It causes pending to "crash" upon opening tmda-cgi pending list with
> the following type of message inside... Following the email message is
> the error message
Sorry, I ain't had much of a chance to look at this stuff... moving in
to a new house this month plus improvements, etc.
Could you take the email message and send it to me as an attachment
instead of inline? I think the funny character that is causeing this is
getting lost when it goes inline. This means that your email program is
smarter than TMDA-cgi, but makes it harder to troubleshoot :)
That said, please don't expect a fix in the very near future... I still
haven't unpacked my desktop machine... but should have it back up by
this weekend.
Example of what I mean... the email you posted said:
> Subject: Glenn, Let TV & Radio build your business
But the python error said:
> value = '', global Unicode = <module 'Unicode' from 'Unicode.py'>,
> Unicode.TranslateToUTF8 = <function TranslateToUTF8>, CharSet =
> 'us_ascii', decoded = ('Glenn,\xa0Let TV & Radio build your business',
> None)
I'd like to have a copy of the message that has this '\xa0' character
really in it instead of trying to fake it.
--
Jim Ramsay
"Me fail English? That's unpossible!"
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
1083676255.82872.msg
Description: Binary data
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
