Re: Processing accented characters submitted from forms [message #184505 is a reply to message #184495] |
Fri, 03 January 2014 17:57 |
J.O. Aho
Messages: 194 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 03/01/14 14:00, JohnT wrote:
> On Fri, 03 Jan 2014 12:52:50 +0000, Tim Streater wrote:
>
>>
>> Wasn't this to do with user-entered data? Why not make *those* pages
>> UTF-8?
>
> It is not as simple as that as all the pages are created on-the-fly using
> shared code.
>
> The easiest solution is to catch the user data before it gets used, and
> translit it.
You have three options
1. Switch to UTF-8 for all sites, you will then future prove your sites
2. Switch to ISO-8859-9 and get issues when you have to add French
3. Just live with that you can't support any other languages than those
supported with ISO-8859-1
You can't catch the data before you get it, so you will be stuck with
what you got.
--
//Aho
|
|
|