Error when Sign Up in Portugues (CHARSET)

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
diasmuchon
 
 
Posts: 5
Joined: Wed Jun 07, 2017 2:36 am

Error when Sign Up in Portugues (CHARSET)

Post by diasmuchon » Sun Oct 14, 2018 12:41 am

Hello Everyone,

I recently created a website, thus created the SIGN UP page (www.gobspbaixada.com.br/sistema_de_login.php)

However, every time a new user tries to fill it up with his/her name in Portuguese, which uses punctuation (eg.: José, Tânia...) it returns with an error message. I've tried changing the HTML PROPERTIES on the SIGN UP FORM by adding charset="ISO-8859-1" but still didn't work. Don't know what to do.

Here follows the print screen.

Sign Up Form
http://gobspbaixada.com.br/arquivos/Prints/wysiwyg2.png

HTML CODE
http://gobspbaixada.com.br/arquivos/Prints/wysiwyg1.png

User avatar
Pablo
 
Posts: 14131
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Error when Sign Up in Portugues (CHARSET)

Post by Pablo » Sun Oct 14, 2018 7:37 am

By default, the sign script only allows ASCII characters for security reasons.
If you need more advanced functionality then you will need to modify the script yourself.

Note that 'accept characters' has nothing to do with this. You will need to modify the PHP code.

Code: Select all

if (!preg_match("/^[A-Za-z0-9_!@$]{1,50}$/", $newusername))
{
   $error_message = 'Username is not valid, please check and try again!';
}
Warning: modifying the code/filter may affect the security of the form!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests