Dashs in the Notes fields causing errors

Be sure to read and follow the guidelines for our forums.

Feb 6, 2015 11:44 pm
I got this report from one of my new players. He kept crashing and losing his charact changes. I found that dashes (-) in the notes fields was throwing an error when he tried to submit.

Jim
Feb 6, 2015 11:45 pm
Thanks, I got an email on the matter. I'm not sure why dashes are breaking anything. I'll have to figure that one out :-/
Feb 6, 2015 11:55 pm
That's weird too... I have it set to accept any unicode characters...
Feb 7, 2015 12:03 am
Keleth says:
That's weird too... I have it set to accept any unicode characters...
If you're doing any string manipulation in PHP, just be aware that things like substr() to limit length will not honor UTF-8 being 2-byte sequences. You might be using non-multibyte string functions somewhere.
Feb 7, 2015 3:00 am
RustInPieces says:
Keleth says:
That's weird too... I have it set to accept any unicode characters...
If you're doing any string manipulation in PHP, just be aware that things like substr() to limit length will not honor UTF-8 being 2-byte sequences. You might be using non-multibyte string functions somewhere.
I concur
Feb 7, 2015 9:04 am
I gotta figure out what happened to Apache, not serving Javascript anymore; I can try to tackle that after.

You do not have permission to post in this thread.