Re: [PHP] languages and PHP

2007-09-27 Thread Per Jessen
David Christopher Zentgraf wrote: > Your biggest problem will be if you accept any kind of user input > which could be in any kind of language. > Depending on your server configuration you'll probably have some > serious cleaning and filtering to do. > I often have to employ this line for example:

Re: [PHP] languages and PHP

2007-09-27 Thread David Christopher Zentgraf
Your biggest problem will be if you accept any kind of user input which could be in any kind of language. Depending on your server configuration you'll probably have some serious cleaning and filtering to do. I often have to employ this line for example: foreach (array_keys($_POST) as $key) $c

Re: [PHP] languages and PHP

2007-09-27 Thread Angelo Zanetti
Per Jessen wrote: Paul Scott wrote: On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote: What are the implications of having a site that has many different languages, including latin and non latin characters? Keep everything as universal (UTF-8) as possible, and make sure

Re: [PHP] languages and PHP

2007-09-27 Thread Angelo Zanetti
Paul Scott wrote: On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote: What are the implications of having a site that has many different languages, including latin and non latin characters? Keep everything as universal (UTF-8) as possible, and make sure that you code for right-t

Re: [PHP] languages and PHP

2007-09-27 Thread Per Jessen
Paul Scott wrote: > > On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote: >> What are the implications of having a site that has many different >> languages, including latin and non latin characters? > > Keep everything as universal (UTF-8) as possible, and make sure that > you code for rig

Re: [PHP] languages and PHP

2007-09-27 Thread Paul Scott
On Thu, 2007-09-27 at 12:15 +0200, Angelo Zanetti wrote: > What are the implications of having a site that has many different > languages, including latin and non latin characters? Keep everything as universal (UTF-8) as possible, and make sure that you code for right-to-left languages as well.

[PHP] languages and PHP

2007-09-27 Thread Angelo Zanetti
Hi all. this is more of a general question but Im sure some people will have experience and also it will be useful to others who are looking for the same answers as I am. What are the implications of having a site that has many different languages, including latin and non latin characters?