View unanswered posts | View active topics It is currently Sun May 25, 2025 8:22 pm



Reply to topic  [ 7 posts ] 
 Punctuation issues, again (this time, with the &) 
Author Message
User avatar

Joined: Sat Dec 03, 2011 10:28 am
Posts: 580
Location: Asheron's Island, Dereth
Reply with quote
The ampersand cuts off the remainder of the sentence on the comm.

I would hope that one day, all of these known punctuation problems are solved. Is there any reason why they're so difficult to tackle?

I also wish we'd get refunded our Energy for sending messages failed in this manner. (If there is an accounting / log of messages ever sent with punctuations causing failures in said messages, that would be a good way to determine how many units of energy need to be refunded to each player that has ever sent a failed message.)

_________________
Respectable beings criticize constructively.

Daily missioner, NPC'er.
Mylarai: enriches often.
Gives base spare energy before ranking, as able.
Mutually jocular drama favored.


Get MANY daily benefits & elites as an IMMINENT DARKIE TODAY!


Thu Apr 26, 2012 9:59 pm
Profile WWW

Joined: Tue Nov 02, 2010 12:32 am
Posts: 4524
Reply with quote
They're removed on purpose, so that people can't use it to mess with the database.


Thu Apr 26, 2012 10:00 pm
Profile
User avatar

Joined: Sat Jul 02, 2011 6:52 pm
Posts: 1663
Location: where the dead ships dwell
Reply with quote
FerrusManus wrote:
They're removed on purpose, so that people can't use it to mess with the database.

There are better ways to solve that problem then blocking specific characters. The standard "escape on input"/"unescape on display" pattern comes to mind.

_________________
ImageImage


Thu Apr 26, 2012 10:28 pm
Profile

Joined: Thu Aug 05, 2010 11:58 pm
Posts: 1146
Reply with quote
Must be a good day, If all one can complain about is grama!!!!!

_________________
as always Semper Fidelis
(CPL USMC)


Thu Apr 26, 2012 10:36 pm
Profile

Joined: Tue Nov 02, 2010 12:32 am
Posts: 4524
Reply with quote
ICBLF wrote:
FerrusManus wrote:
They're removed on purpose, so that people can't use it to mess with the database.

There are better ways to solve that problem then blocking specific characters. The standard "escape on input"/"unescape on display" pattern comes to mind.


Yeah, I only know the very basics about that stuff, so I wasn't sure if there might be a good reason not to do things like that.


Thu Apr 26, 2012 10:45 pm
Profile
User avatar

Joined: Mon Oct 10, 2011 1:31 am
Posts: 115
Reply with quote
My suggestion to Dan is a mini conversion system. Convert inputted undesired characters to your own version. Then when reading the data to output it just use preg_replace() to replace your own version into that character for display. That way the data gets converted before even going into the database and gets converted back for display.


Sat Apr 28, 2012 12:25 am
Profile
User avatar

Joined: Sat Dec 03, 2011 10:28 am
Posts: 580
Location: Asheron's Island, Dereth
Reply with quote
Drekentai wrote:
My suggestion to Dan is a mini conversion system. Convert inputted undesired characters to your own version. Then when reading the data to output it just use preg_replace() to replace your own version into that character for display. That way the data gets converted before even going into the database and gets converted back for display.


+Pluses here!

_________________
Respectable beings criticize constructively.

Daily missioner, NPC'er.
Mylarai: enriches often.
Gives base spare energy before ranking, as able.
Mutually jocular drama favored.


Get MANY daily benefits & elites as an IMMINENT DARKIE TODAY!


Sun Apr 29, 2012 1:40 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.