Author |
Message |
Asheron
Joined: Sat Dec 03, 2011 10:28 am Posts: 580 Location: Asheron's Island, Dereth
|
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 |
|
 |
FerrusManus
Joined: Tue Nov 02, 2010 12:32 am Posts: 4524
|
They're removed on purpose, so that people can't use it to mess with the database.
|
Thu Apr 26, 2012 10:00 pm |
|
 |
ICBLF
Joined: Sat Jul 02, 2011 6:52 pm Posts: 1663 Location: where the dead ships dwell
|
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.
_________________ 
|
Thu Apr 26, 2012 10:28 pm |
|
 |
Chris24markey
Joined: Thu Aug 05, 2010 11:58 pm Posts: 1146
|
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 |
|
 |
FerrusManus
Joined: Tue Nov 02, 2010 12:32 am Posts: 4524
|
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 |
|
 |
Drekentai
Joined: Mon Oct 10, 2011 1:31 am Posts: 115
|
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 |
|
 |
Asheron
Joined: Sat Dec 03, 2011 10:28 am Posts: 580 Location: Asheron's Island, Dereth
|
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 |
|
 |
|