FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » NNTP Import of Messages without Content-Type in Header
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: NNTP Import of Messages without Content-Type in Header [message #161840 is a reply to message #161836] Fri, 12 February 2010 15:50 Go to previous messageGo to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma:
Senior Member
naudefj wrote on Fri, 12 February 2010 09:17
I've looked at the code (charset_convert() in scripts_common.inc) and I don't think this is going to work. If we convert from X to Y. But if X==Y noting is going to happen.

For example, forum charset is UTF-8; post doesn't specify charset, so we assume it is UTF-8. No conversion is implied.

Any other ideas?


Can we scan the actual text and deduce what the charset is? Somehow Thunderbird displays these messages fine so it must be doing something.

Or how about you look for the Outlook Express signature (not sure if the full Outlook client has the same issue) and then pick the assume that the charset is the windows one and convert from that to charset of forum?

Every case I've seen of this has Outlook Express as the client.

Cheers,

James.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XML Aggregation :: Variable not Defined Warning
Next Topic: Query failed: ERROR: value too long for type character varying(100)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jul 03 00:13:01 GMT 2024

Total time taken to generate the page: 0.04384 seconds