FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Processing accented characters submitted from forms
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Processing accented characters submitted from forms [message #184485 is a reply to message #184471] Fri, 03 January 2014 11:37 Go to previous messageGo to previous message
JohnT is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ORMs comparisons/complaints.
Next Topic: thank you, richard@noreply
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 20:08:25 GMT 2024

Total time taken to generate the page: 0.03379 seconds