The Un-Official Proxomitron Forum
Common chars are encoded in BB CODE - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Site/Forum-Related (/forumdisplay.php?fid=18)
+--- Thread: Common chars are encoded in BB CODE (/showthread.php?tid=2043)



Common chars are encoded in BB CODE - sbk - Aug. 26, 2012 10:02 PM

Numerical encoding for common punctuation such as parentheses:
http://prxbx.com/forums/showthread.php?tid=218
http://prxbx.com/forums/showthread.php?tid=714

but partly left unencoded in
http://prxbx.com/forums/showthread.php?tid=218&pid=2457#pid2457

I wondered if my filters were causing this, but I see no matches in this part of page when using "Html Debug Info" in proxo log window.



RE: Common chars are encoded in BB CODE - ProxRocks - Aug. 26, 2012 11:45 PM

very peculiar...
i'm seeing it here also, does not appear to be filter-related...


RE: Common chars are encoded in BB CODE - JJoe - Aug. 27, 2012 03:49 AM

http://prxbx.com/forums/showthread.php?tid=1639&pid=14986#pid14986


RE: Common chars are encoded in BB CODE - JJoe - Aug. 27, 2012 08:23 PM

Does this,

Code:
[Patterns]
Name = "prxbx fix code  (2012.08.27)"
Active = TRUE
URL = "$TYPE(htm)prxbx.com/forums/showthread.php"
Limit = 6
Match = "\&(^(^#))"
Replace = "&"

, fix all?

If yes, admins might be able to correct with something like

Code:
[Patterns]
Name = "prxbx fix code post for admins  (2012.08.27)"
Active = FALSE
Multi = TRUE
URL = "$TYPE(htm)prxbx.com/forums/editpost.php?"
Bounds = "<textarea*</textarea>"
Limit = 32764
Match = "(\1\&amp;(^(^#))$SET(a=$GET(a)\1\&))+\2"
Replace = "$GET(a)\2$SET(a=)"



RE: Common chars are encoded in BB CODE - sbk - Aug. 28, 2012 03:33 AM

I found an online converter that produces proper looking (to my eye) results
http://www.convertstring.com/EncodeDecode/HtmlDecode