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

Home » FUDforum Development » FUDforum 3.0+ » Problems charset
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problems charset [message #164402 is a reply to message #163232] Fri, 04 February 2011 06:19 Go to previous messageGo to previous message
rover_scan is currently offline  rover_scan   
Messages: 31
Registered: January 2010
Karma:
Member

Цитата:
The second message doesn't declare its character set.


In nntp.inc, v 1.86 I solved the problem (http:// fudforum.org/forum/index.php?t=msg&th=119040&goto=161544&#msg_1 61544). If the charset is not specified,

if (isset ($ this-> headers ['content-type']) & & preg_match ('! charset ="?([^"]+?)"?(;| \ s |$)!', $ this-> headers ['content-type'], $ m)) {
$ charset = $ m [1];
} Else {


/ / $ charset = $ GLOBALS ['CHARSET'];
[b]$ charset = 'koi8-r';[/b]



How to make a nntp.inc in 5075? Where the function parse_msgs? Smile

[Updated on: Fri, 04 February 2011 06:29]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing Multiple "re: " in subject lines
Next Topic: Time/Date Formatting
Goto Forum:
  

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

Current Time: Sat Nov 23 20:54:24 GMT 2024

Total time taken to generate the page: 0.04518 seconds