Re: Processing accented characters submitted from forms [message #184485 is a reply to message #184471] |
Fri, 03 January 2014 11:37 |
JohnT
Messages: 16 Registered: April 2011
Karma:
|
Junior Member |
|
|
On Thu, 02 Jan 2014 18:15:50 +0100, J.O. Aho wrote:
> On 02/01/14 16:55, JohnT wrote:
>>
>> One of the websites that I am working on is getting a lot of interest
>> from countries that make a lot of use of accented characters.
>>
>> Usually accented characters come through fine.
>>
>> However, some are replaced by the character codes. e.g. İ This
>> seems to be occurring for some Turkish and Romanian characters.
>>
>
> You need to have a charset which supports all of the characters, like
> UTF-8.
Currently using ISO-8859-1.
It all displays OK, so I assumed that the characters are supported, but
it appears the browser must be doing some magic to display them as
further investigation shows that those characters are not supported by
the character set.
>>
>> How do people usually handle this ?
>
> You see to that everything is stored in UTF-8 from the beginning and do
> not encode strings.
We're already using iso-8859-1 for the whole website.
It will be a lot of work to change all that, so I guess we'll have to put
up with the odd Turkish I causing problems.
Thanks
JohnT
|
|
|