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

Home » FUDforum Development » Bug Reports » More quoting problems
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
More quoting problems [message #24169] Mon, 18 April 2005 15:59 Go to next message
krbvroc1 is currently offline  krbvroc1   United States
Messages: 31
Registered: February 2005
Karma: 0
Member
I'm still having problems with articles that gateway from
the forum to nntp.

Previously, I patched email_msg_format.inc with
/* handle encoded e-mails */
if (strpos($data, '@') !== false) {
$data = str_replace('@', '@', $data);
}

However, I'm still seeing problems with other HTML chars.
People who use single quotes or double quotes in their msgs show up as 8217 or 8221

Do I need to add more if statments for each type of HTML char?

[Edit] - so far I've added similar if statements for
8217 - single quote
8221 - double quote
8211 - hyphen

Those were the ones I found from my news spool.

BTW, what are these code? When I googled for HTML special codes - I find different values. For example double quote is listed as
ampersand pound 34. http://webdesign.about.com/od/charactersets/l/bl_htmlcodes.htm

[Updated on: Mon, 18 April 2005 16:24]

Report message to a moderator

Re: More quoting problems [message #24172 is a reply to message #24169] Mon, 18 April 2005 17:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The quoting problems were fixed in the CVS already.

FUDforum Core Developer
Re: More quoting problems [message #24173 is a reply to message #24172] Mon, 18 April 2005 18:25 Go to previous messageGo to next message
krbvroc1 is currently offline  krbvroc1   United States
Messages: 31
Registered: February 2005
Karma: 0
Member
Ilia wrote on Mon, 18 April 2005 13:57

The quoting problems were fixed in the CVS already.


Can you refer me to a bug #, please? The changes I see in that file relate to 'quoting' a message - not single / double quotes. Were these changes made elsewhere?

http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=3479
is the one I was looking at that seems to be related to quoting a message - not single / double quote characters.

Is it 3400?

[Updated on: Mon, 18 April 2005 18:40]

Report message to a moderator

Re: More quoting problems [message #24175 is a reply to message #24173] Mon, 18 April 2005 20:05 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You got the correct patch #, the actual conversion is done by php function inside plain_text()

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Bug in Subcategories
Next Topic: trsahpenguenb.ttf font problems
Goto Forum:
  

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

Current Time: Fri Sep 20 16:42:55 GMT 2024

Total time taken to generate the page: 0.02406 seconds