The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
german characters - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: german characters (/showthread.php?tid=2732) |
german characters - pverbeek - Nov 19th, 2013 Hello, I'm new here and my question is probably only for gerrman language important. I made a form in Form Tools and my problem is, that geman characters such as <öäü ÖÄÜ ß> written in text fields are not submitted to the database and not submitted by e-mail too. More ever, the string is cut before such characters. I'm using the 2.2.5 version and my provider is STRATO. The database has a UTF-8 format. What can I do? RE: german characters - Joe - Nov 20th, 2013 Hi Pverbeek, Please try the following: - Ensure database is set to utf8_general_ci - Check your /global/config.php file doesn't contain a $g_unicode = false; line and your /global/library.php does contain a $g_unicode = true; line (unicode is enabled by default, so unless you edited it this should be fine). - Encoding of form is set in metatag in the header of your form document, please add this meta tag to your form: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - In the form tag add "accept-charset="UTF-8" to the form <form ... accept-charset="UTF-8"> Cheers, Joe RE: german characters - pverbeek - Nov 21st, 2013 Hi Joe, many thanks for your Reply. The last tip, you gave me, solved the problem, the other definitions were already okay, but in the form tag was defined as "iso" I have another problem and since you seem to know al lot about php, I ask you directly: How can I set some fields as obligation to fill in? I had those fields marked as "required" but Form Tools erased those specifications. So I suppose, there must be an other way. Can you help me? Many thankt in advance. Peter Verbeek (Nov 20th, 2013, 10:35 AM)Joe Wrote: Hi Pverbeek, RE: german characters - Joe - Nov 21st, 2013 Hi there, You should check out: http://docs.formtools.org/tutorials/js_validation/?page=rsv_file Cheers, Joe RE: german characters - pverbeek - Nov 21st, 2013 Hi Joe, seemst to be exactly, what I need and searched for! Thank you and have a nice weekend, I will try to implate these rules in my form and let you know. Bye, Peter RE: german characters - mwf - Dec 3rd, 2013 Bonjour ! I have (maybe) the same problem with sending mails and was happy to find a solution here - but this does not work for my problem: It seems to me that mails (neither client nor administrator notification) will be send if their are special characters like the german äöüß or the french éèàâ in the client/administrator name (last name and/or first name). For the administrator-name it's a minor problem - I have removed the 'ö' from my last-name, but how to deal with client-names? I'm using the 2.2.5 version and my provider is 1and1.fr Thanks in advance Martin RE: german characters - SantiagoCHile - Dec 5th, 2013 Check your /global/config.php file doesn't contain a $g_unicode = false; line and your /global/library.php does contain a $g_unicode = true; line (unicode is enabled by default, so unless you edited it this should be fine). |