Click the Extended button, then New, and enter the following:
Name: accept-charset
Value: utf-8
Okay out of the stack of dialogs, and see if it improves things. You
may also need to upgrade the form handler script. (You didn’t mention
which one you were using.) Out of the box, PHP doesn’t support Unicode
directly, but with a few flags and configuration settings, it
certainly can. If your form handler is written in PHP and you don’t
get the result you’re after with this added form attribute, then that
would be the next place to look.
Walter
On Jul 8, 2011, at 6:07 AM, TomP wrote:
One more step: where can I set the charcode for forms …
That’s down to PHP on your server, then. There are settings in the
php.ini file that you can apply on your server to change the default
encoding. Have a look on your server’s control panel and see if you
can find a way to modify your php.ini file, or to “add PHP directives”
or something like that.
You can also open the [form name]-go.php file that PHPFF generated,
using a TextWrangler or another programmer’s text editor, and first
just try saving the file itself with UTF-8 (no BOM) encoding. Upload
this modified file using an (s)FTP application, overwriting the copy
that Freeway uploaded, and see if that changes anything. There’s more
you can do within that file, but try that first.
Walter
On Jul 8, 2011, at 1:29 PM, TomP wrote:
Just found out: the Mail comes as ISO-8859-1 - even if the pages
are utf-8
Save the file, upload it to your server, overwriting the existing
copy, and try again. If this works, then you will need to keep Freeway
from overwriting the file each time you upload. To do that, you need
to apply Upload Stuff or another of the file upload Actions to your
form page, and use it to upload the modified version of the -go file.
You also need to remove the PHP Feedback Form Action from the form
page, so you will need to manually set the Action attribute in the
form setup dialog to precisely the same path that the PHPFF Action set
it to (probably ‘Resources/[your_form]-go.php’).
This will continue to work as if the Action was still applied, unless
you need to modify the form in some way that might affect the -go file.
If this patch doesn’t work – say you get a big scary error when you
submit the form – then it’s possible that your account is set to
disallow php.ini changes using runtime directives like the ones above.
If that’s the case, then you’re going to have to talk to your hosting
provider, give them those two directives, and ask them to make them
“official” in the actual ini file.
Walter
On Jul 8, 2011, at 1:49 PM, Walter Lee Davis wrote:
There’s more you can do within that file, but try that first.