Quoting Removes Symbols

Language: JP EN DE FR
2010-09-08
New Items
6377 users online

You must be logged in to do that.

Forum » FFXIAH.com » Bugs » Quoting removes symbols
Quoting removes symbols
 Midgardsormr.Sammitch
Offline
Server: Midgardsormr
Game: FFXI
User: Sammitch
Posts: 1353
By Midgardsormr.Sammitch 2010-07-14 17:57:34
Link | Quote | Reply
 
at the very least the + symbol.

Check http://www.ffxiah.com/forum/?topic_id=4467&page=416#698010 and see the post below where Slipi quoted me. I've checked it myself in Firefox, Chrome, and IE and hitting the 'Quote' link removes all the + from the post when it's put in the post box.

edit: link'd
 Ramuh.Vinvv
Offline
Server: Ramuh
Game: FFXI
User: vinvv
Posts: 15542
By Ramuh.Vinvv 2010-07-14 18:00:45
Link | Quote | Reply
 
that is weird.
also http://www.ffxiah.com/forum/?topic_id=4467&page=416#698010
for the lazy'z
 Fenrir.Schutz
Offline
Server: Fenrir
Game: FFXI
User: Schutz
Posts: 3122
By Fenrir.Schutz 2010-07-14 18:01:30
Link | Quote | Reply
 
You can blame the bug, but you still owe me a cookie for this...

http://www.ffxiah.com/forum/?topic_id=3533&page=4#620403

...you know. :p
 Asura.Ludoggy
Offline
Server: Asura
Game: FFXI
User: Ludog
Posts: 36553
By Asura.Ludoggy 2010-07-14 18:02:09
Link | Quote | Reply
 
I Pmed Big red head J awhile ago about it. this is his response
bigredheadJ said:
Yeah, it's due to an encoding glitch in the Javascript. Spaces do not naturally have good encoding standards on the internet. Some browsers internally encode them as _, and some as +. We elected to support the _, as it's more common, but that means when the quote goes through the Javascript and back out, the browsers replace the + with a space. Not much we can do about it without a ton of work.
 Diabolos.Rydiya
Offline
Server: Diabolos
Game: FFXI
User: Rydiya
Posts: 13469
By Diabolos.Rydiya 2010-07-14 18:02:27
Link | Quote | Reply
 
Midgardsormr.Sammitch said:
at the very least the symbol.

Check http://www.ffxiah.com/forum/?topic_id=4467&page=416#698010 and see the post below where Slipi quoted me. I've checked it myself in Firefox, Chrome, and IE and hitting the 'Quote' link removes all the from the post when it's put in the post box.
Known issue.
 Ramuh.Vinvv
Offline
Server: Ramuh
Game: FFXI
User: vinvv
Posts: 15542
By Ramuh.Vinvv 2010-07-14 18:12:28
Link | Quote | Reply
 
Midgardsormr.Sammitch said:
at the very least the symbol.

Check http://www.ffxiah.com/forum/?topic_id=4467&page=416#698010 and see the post below where Slipi quoted me. I've checked it myself in Firefox, Chrome, and IE and hitting the 'Quote' link removes all the from the post when it's put in the post box.
i'd say just type in {quote=Midgarsormr.Sammitch} and then {/quote} at the end...
a bit more typing but meh, not too big of a deal.
 Midgardsormr.Sammitch
Offline
Server: Midgardsormr
Game: FFXI
User: Sammitch
Posts: 1353
By Midgardsormr.Sammitch 2010-07-15 00:04:06
Link | Quote | Reply
 
Simple fix: replace the + with an + during post submission. I'm sure there are scads of other scans and/or replacements that happen at that time, or during the HTML generation for output into which this could be incorporated. Wherever you're translating the BBcodes into HTML you're already going to be running a metric ton of preg_replace() where this could be put in.

Hell, put this into the Javascript to offload all those extra processor cycles to whoever is quoting the post. Should save dozens of Hz worth every day. :U


Fenrir.Schutz said:
You can blame the bug, but you still owe me a cookie for this...

http://www.ffxiah.com/forum/?topic_id=3533&page=4#620403

...you know. :p
I already told you, it's too late. :P
Midgardsormr.Sammitch said:
I'm afraid I'm going to have to eat your cookie. :|
Log in to post.