
February 6th, 2013, 03:16 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 9
Time spent in forums: 2 h 36 m 12 sec
Reputation Power: 0
|
|
|
PHP5 - Forms and diacritical marks in different languages (or special characters)
Hello Folks,
I am running Apache 2.2.22 and php 5.3.12 and I have a simple registration form that is used all over the world. When someone from a country like Spain uses the form their responses are jumbled because of the encoding...at least I think it is called 'encoding'...basically I would like a way to ensure that when someone in Spain or France enters a character with a diacritical mark, the form will send it the way it was entered, no matter what the character is.
I thought if I added utf8 to the headers it would fix this but it doesn't...
PHP Code:
'Content-type: text/html; charset=UTF-8' . "\r\n";
Any assistance would be highly appreciated.
Thank you,
Jenny
|