The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Forms do not support characters with accents (French) - 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: Forms do not support characters with accents (French) (/showthread.php?tid=716)



Forms do not support characters with accents (French) - dand33 - May 26th, 2010

Hi,

Form Tools is an excellent tool for managing web form.
But I have a problem with my French version of the web forms. Soon as I write a word with an accent the rest of the fiend does not follow in the database as well as in the admin message.

Exemple: Hélène... all I get in the database is H

My form are in "charset=iso-8859-1"... With a simple PHP script, the message I received is complete but not with Form Tools.

My database is ok because I can make a correction on a data (form subscription) the database keep the accent as I changed it. The problem seems to be in the transfer of the information from Form Tools and the database and Swift Mailer.

Could someone give me some help on this ?

Thanks a lot...


RE: Forms do not support characters with accents (French) - Nowton - May 27th, 2010

Upgrade to the 2.01 beta, this will fix it.

(May 26th, 2010, 7:59 AM)dand33 Wrote: Hi,

Form Tools is an excellent tool for managing web form.
But I have a problem with my French version of the web forms. Soon as I write a word with an accent the rest of the fiend does not follow in the database as well as in the admin message.

Exemple: Hélène... all I get in the database is H

My form are in "charset=iso-8859-1"... With a simple PHP script, the message I received is complete but not with Form Tools.

My database is ok because I can make a correction on a data (form subscription) the database keep the accent as I changed it. The problem seems to be in the transfer of the information from Form Tools and the database and Swift Mailer.

Could someone give me some help on this ?

Thanks a lot...

I stand corrected, we have the same problem with Spanish forms. Apparently character-escaping issues...again.

(May 27th, 2010, 1:48 AM)Nowton Wrote: Upgrade to the 2.01 beta, this will fix it.



RE: Forms do not support characters with accents (French) - Ben - May 27th, 2010

Hey guys,

No, it's probably not a character escaping issue.

Most likely, you may need to tell the server that the form request is in a particular charset. Try adding the following attribute to your form tag:

<form ... accept-charset="UTF-8">

(utf8 should work fine, but you can change it to accept-charset="ISO-8859-1" if you like).

Let me know how it goes!

- Ben


RE: Forms do not support characters with accents (French) - dand33 - Jun 1st, 2010

Hi Ben,

No, sorry, it did not works
Here's the result:
First Name H?l?ne (should be Hélène)
Last Name L?veill (should be Léveillée)

My database is in Latin1_general_ci, would it be better if I change it for utf-8_general_ci ?

Thank You for your help


RE: Forms do not support characters with accents (French) - Ben - Jun 2nd, 2010

Hi dand - yes, very possibly.

After changing it, put through another submission with the French characters and see if they show up propertly (existing submissions may still not work).

- Ben


RE: Forms do not support characters with accents (French) - dand33 - Jun 10th, 2010

Very strange...
I have created another form and added the // accept-charset="ISO-8859-1" // and I still have the same results.

I can interpret the results and change it in the database but really, I don't understand...
I will continue to make some reasearch

Thank You for your help Ben...


RE: Forms do not support characters with accents (French) - lsendoya - Aug 18th, 2010

As for formTools API 2.0.3-beta-20100731, I believe that any issues with non English characters can be solved changing the global\library.php config file at line 97:

Code:
$g_unicode = true;

the comment says clearly:

Code:
* This offers support for unicode. All form submissions will be sent as UTF-8. This is enabled for all
* new installations.

So if you have non UTF-8 forms, you should change line 97 to

Code:
$g_unicode = false;

in order to display properly non English characters or non UTF-8 forms.


Hope it helps somebody.


RE: Forms do not support characters with accents (French) - dand33 - Aug 24th, 2010

Hey Everybody...

With this ($g_unicode = falseWink it WORKS.

Thank You All and especially the Rabbit!


RE: Forms do not support characters with accents (French) - Ben - Aug 28th, 2010

The Rabbit is wise Smile

(Good to know, thanks Luis!)