|
|
|
Re: Problems charset [message #163227 is a reply to message #163225] |
Mon, 11 October 2010 04:21   |
INVY
 Messages: 33 Registered: November 2009
Karma: 0
|
Member |
add to buddy list ignore all messages by this user
|
|
200 News.GigaNews.Com
AUTHINFO USER ****
381 more authentication required
AUTHINFO PASS *******
281 News.GigaNews.Com
Group free.it.storia.medioevo
211 5489 1059 6547 free.it.storia.medioevo
ARTICLE 1059
220 1059 <y0GLa(dot)131176$Ny5(dot)3721365(at)twister2(dot)libero(dot)it>
Path: news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!bor
der1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!nnt
p.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "Vlad[]" <joe_falchettoTOGLI(at)bigfoot(dot)com>
Newsgroups: free.it.storia.medioevo
References: <aFsAa(dot)34484$lK4(dot)1063136(at)twister1(dot)libero(dot)it> <Xns9387CD33758F2cguasc
obiella(at)195(dot)31(dot)190(dot)132> <dRsAa(dot)34416$Ny5(dot)1078349(at)twister2(dot)libero(dot)it> <Xns9387CEE
1C997Bcguascobiella(at)195(dot)31(dot)190(dot)131> <5%sAa(dot)34560$lK4(dot)1064569(at)twister1(dot)libero(dot)it>
Subject: Re: ? ? ?
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <y0GLa(dot)131176$Ny5(dot)3721365(at)twister2(dot)libero(dot)it>
Date: Sun, 29 Jun 2003 18:14:54 GMT
NNTP-Posting-Host: 151.24.144.251
X-Complaints-To: abuse(at)libero(dot)it
X-Trace: twister2.libero.it 1056910494 151.24.144.251 (Sun, 29 Jun 2003 20:14:54
MET DST)
NNTP-Posting-Date: Sun, 29 Jun 2003 20:14:54 MET DST
Organization: [Infostrada]
Xref: intern1.nntp.aus1.giganews.com free.it.storia.medioevo:1059
Io sono un moderatore di un ng culturale della gerarchia it.* e ti posso
assicurare che nessuno si Þ mai lamentato di una eventuale nostra censura
(siamo 4 comoderatori): basta seguire le regole del manifesto (votato da
tutti gli utenti all'atto della formazioen del ng moderato) e non insultare
nessuno. Per quanto riguarda spam, troll e altre "simpatiche" cose del
genere, purtroppo esso compare in modo massiccio nei ng non moderati, e
l'appello all'abuse dei provider non dÓ quasi mai esito, tanto che per lungo
tempo la gerarchia it.* Þ stata preclusa agli utenti TIM, proprio perchÚ
moltisimi spammer impostavano da quel provider, il cui abuse non dava alcun
segno di vita...
|
|
|
|
|
|
Re: Problems charset [message #164421 is a reply to message #164419] |
Fri, 04 February 2011 07:47   |
|
Цитата:What is 5075?
<?php
/**
* copyright : (C) 2001-2010 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
* $Id: nntp.inc 5075 2010-11-15 17:59:45Z naudefj $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; version 2 of the License.
**/
Цитата:it is no related to the current topic
I have same problem.
|
|
|
|
Re: Problems charset [message #164431 is a reply to message #164423] |
Fri, 04 February 2011 21:35   |
|
Цитата:Please use the provided workaround
I do not quite understand you - http://translate.google.ru:)
I'll try to describe the problem.
Determination of coding messages. In version 3.00. File nntp.inc v 1.86. Function parse_msgs (). If no encoding is specified (outlook express does so), "$ charset = 'koi8-r'";. Everything worked.
Version 3.02. Where the definition of encoding? Where parse_msgs ()? (found), things have changed! What do I do? If the encoding is not specified where to insert "$ charset = 'koi8-r'"?
|
|
|
|
|
|
Re: Problems charset [message #164444 is a reply to message #164443] |
Sat, 05 February 2011 23:39   |
|
Цитата:So, what are you saying, the body was correctly decoded but the subject wasn't?
Yes
Цитата:BTW: Your link doesn't work. It points to an empty 3.0.0 forum.
Downgrade
|
|
|
Re: Problems charset [message #164488 is a reply to message #164444] |
Wed, 09 February 2011 21:45   |
|
I partially solved the problem.
The file scripts_common.inc
if (function_exists('iconv_mime_decode')) {
return iconv_mime_decode(trim($val), 2);
to
if (function_exists('iconv_mime_decode')) {
return iconv_mime_decode(trim($val), 2, $GLOBALS['CHARSET']);
In file mime_decode.inc
function fetch_useful_headers() {
include_once "detect_cyr_charset.php"; // include detect charset script (in attachment)
// if script return charset ISO - nothing encoding
if ((detect_cyr_charset($this->headers['subject'])=="i")) {
$this->subject = htmlspecialchars(trim($this->headers['subject']));
}
elseif((detect_cyr_charset($this->headers['subject'])=="m")) // if charset MAC - i dont know
{ $this->subject = "Decode subject faild :(";
}
else
{ $this->subject = decode_string((htmlspecialchars(trim($this->headers['subject']))), $this->headers['content-transfer-encoding'], $this->headers['__other_hdr__']['content-type']['charset']);
}
I do not quite understand how this "Hindu Code" works. But it works! 
About 80% "$ this-> headers ['subject']" is decoded normally.
There is a way to make it better?
[Updated on: Wed, 09 February 2011 22:15] Report message to a moderator
|
|
|
|
|
|