foreign accents in PHP Feedback Form

I have a PHP feedback form on this page http://www.barbaradelaruelle.com/contact.html When a response comes from someone who types foreign accents (which they will -it is a french site) they arrive as nonsense characters - é è ô ç instead of é è à ç and so on
How do I change the form’s character settings to prevent this?
best wishes Richard


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

This may just be a case of setting your FW page encoding to UTF-8

David


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

I have set the encoding to UTF-8 in the document set up and on the page via the inspector but no result. It is only in text that arrives in the mail box that is affected. So is it on the server I need to look? Or where ever the message is sent from - which is where? R


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

Hi Richard,
This is almost certainly something I need to add to the PHP that the Action creates. I’ve had requests for the Action to support double byte character sets (such as Japanese) and expect the page encoding will need to influence the PHP code added to the -go.php file.
I’ll have a look and see if I can find any good resources on the subject in the hope of adding support to the Action soon.
If anyone can point me to a good example of sending multi-lingual emails with PHP I would certainly be grateful.
Regards,
Tim.

On 12 Oct 2011, at 16:03, Richard Lowther wrote:

I have a PHP feedback form on this page http://www.barbaradelaruelle.com/contact.html When a response comes from someone who types foreign accents (which they will -it is a french site) they arrive as nonsense characters - é è ô ç instead of é è à ç and so on
How do I change the form’s character settings to prevent this?

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


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

Hi Richard,.
Looking at the code the Action creates and checking what I can find on the subject it would seem that I need to change the email encoding from the existing ISO-8859-1 to UTF-8. Having said this I checked the existing code using the characters you mention below and the resulting email looked OK in Mail here.

As a test I’ve adjusted my test form to use UTF-8 and made you the recipient of the email to allow you to test this yourself. Enter your text in the following form, select yourself as the recipient and hit send. If the text renders correctly in the resulting email then I’ll happily update the Action.
http://www.freewayactions.com/test/phpfbf237/

Maybe you can forward the resulting email to me when you get a chance?
Let me know how you get on.
Regards,
Tim.

On 12 Oct 2011, at 16:03, Richard Lowther wrote:

I have a PHP feedback form on this page http://www.barbaradelaruelle.com/contact.html When a response comes from someone who types foreign accents (which they will -it is a french site) they arrive as nonsense characters - é è ô ç instead of é è à ç and so on
How do I change the form’s character settings to prevent this?

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


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

Thanks for looking at this Tim ands sorry for not getting back sooner. I have just got back in front of my computer and tested your form and I am getting correct accents but apostrophies are being preceded by a / as in d/'interieur or don/'t. I will also set up another PHP form and see what happens with another domain and server

Meanwhile I will forward the whole mail to you at info-at-freewayactions

best wishes Richard


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

Thanks for your input on this Richard. I’ve tentatively updated the Action to version 2.3.9 which now sends out UTF-8 encoded emails (which should respect your accented characters) as well as eliminating the escaped quotes which was an oversight in my original code. If the update doesn’t throw up any unforeseen problems in existing sites then these changes will remain in the Action.

You can download the updated Action from the FreewayActions.com site at http://www.freewayactions.com/product.php?id=019

Let me know if you experience any further issues with the Action.
Regards,
Tim.

On 13 Oct 2011, at 09:11, Richard Lowther wrote:

Thanks for looking at this Tim ands sorry for not getting back sooner. I have just got back in front of my computer and tested your form and I am getting correct accents but apostrophies are being preceded by a / as in d/'interieur or don/'t. I will also set up another PHP form and see what happens with another domain and server

Meanwhile I will forward the whole mail to you at info-at-freewayactions

FreewayActions.com - Freeware and commercial actions for Freeway Express & Pro.

Protect your mailto links from being harvested by spambots with Anti Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


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

Perfect Tim.
Wonderful service as ever. Many many thanks, j’ai une cliente contente.

My very best wishes Richard


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