Form

As you may know we have in German ä ö ü.

My problem on iphone forms is, that these
signs coming out strange (it’s a code thing I guess).

What is the correct code for iphone pages and their forms?

Now its Unicode 5.1 UTF-8? Did I miss something?

When I change to ISO-Latin 1 its the same thing …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Found something out: when I receive the feedback from the form in gmail, the characters look ok …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

One more step: where can I set the charcode for forms … :smiley:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Page / Form Setup.

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 … :smiley:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Its PHP Feedback Form 2.3.7


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just found out: the Mail comes as ISO-8859-1 - even if the pages
are utf-8


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Page / Form Setup.

Click the Extended button, then New, and enter the following:

Name: accept-charset
Value: utf-8

It’s still the same …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walt are we talking about settings on server side where the pages are hostet?

If’ve changet .go into UTF-8. Guess what: still the same.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The next changes have to happen on the server. I’m traveling today, but I can send you some recipes later tonight.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Open up the [your_form]-go.php file, and paste the following lines in
at the very top, right underneath the opening <?php line:

ini_set('default-charset','utf-8');
mb_internal_encoding('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.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options