Also all required fields are not required!
I add these in code:
}
if(strlen($Sub_ject) < 1) {
$error_message .= "Aihe ei voi olla tyhjä.";
}
if(strlen($first_name) < 1) {
$error_message .= "Nimi ei voi olla tyhjä.";
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, Thank you very much for you help!
This strings now included to the script
if(strlen($Sub_ject) < 1) {
$error_message .= "Empty field: Subject.";
}
if(strlen($first_name) < 1) {
$error_message .= "Empty field: Name.";
}
Now it works with Unicode characters. $string = utf8_decode($string);
Hi,
Do you only add that one line ($string = utf8_decode($string);) in code (sms_mail_notification.php)?
I don´t know why, but that not work for me. Please see attached config.
Ensure your text editor or platform supports UTF-8. Check for any encoding settings or configurations that might be causing the problem. If the issue persists, try using a different platform or encoding method. UTF-8 is widely supported, so compatibility problems are uncommon but can arise due to specific configurations or software limitations. I have same issue with Puff Print If you need further assistance, feel free to provide more details about your setup.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you receive message in your email, what is sent via Contact Form you see that "ÖÄ" not shown correctly?
I think UTF-8 not work??
I Have modified this little and done Finnish translations.
http://www.juuanmetsa-villet.fi/yhteystiedot/palautelomake/
Also all required fields are not required!
I add these in code:
}
if(strlen($Sub_ject) < 1) {
$error_message .= "Aihe ei voi olla tyhjä.";
}
if(strlen($first_name) < 1) {
$error_message .= "Nimi ei voi olla tyhjä.";
}
Hello, Thank you very much for you help!
This strings now included to the script
if(strlen($Sub_ject) < 1) {
$error_message .= "Empty field: Subject.";
}
if(strlen($first_name) < 1) {
$error_message .= "Empty field: Name.";
}
Now it works with Unicode characters. $string = utf8_decode($string);
before:

Last edit: Aron Smit 2017-02-15
Hi,
Do you only add that one line ($string = utf8_decode($string);) in code (sms_mail_notification.php)?
I don´t know why, but that not work for me. Please see attached config.
i have made some changes with headers. file attached.
Last edit: Aron Smit 2017-02-16
Perfect! now it works!!
Thanks! :)
You are welcome :)
Ensure your text editor or platform supports UTF-8. Check for any encoding settings or configurations that might be causing the problem. If the issue persists, try using a different platform or encoding method. UTF-8 is widely supported, so compatibility problems are uncommon but can arise due to specific configurations or software limitations. I have same issue with Puff Print If you need further assistance, feel free to provide more details about your setup.