The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

You shouldn't disallow those letters, it's wrong to do so. What about people's names, or names of a foreign language?

Instead, use MySQL_Real_Escape_String to allow the apostrophe etc in the name (You should do this to all MySQL input anyway unless you are using a library like PDO which doesn't require it). Then make sure you're using a character encoding which supports a vast range of characters, such as UTF-8 or UTF-16.

That way you allow input in without appearing unprofessional - and when dealing with court cases, being unprofessional and changing peoples' names so that they work with your broken system could be enough to bring a real court case upon your site.

Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona

You shouldn't disallow those letters, it's wrong to do so. What about people's names, or names of a foreign language?

Instead, use MySQL_Real_Escape_String to allow the apostrophe etc in the name (You should do this to all MySQL input anyway unless you are using a library like PDO which doesn't require it). Then make sure you're using a character encoding which supports a vast range of characters, such as UTF-8 or UTF-16.

That way you allow input in without appearing unprofessional - and when dealing with court cases, being unprofessional and changing peoples' names so that they work with your broken system could be enough to bring a real court case upon your site.

I am saying that court filings in the US are done in English letters only. Even foreign names are spelled using English-only letters and that's why I suggested this regex.