Re: Replacing accented characters by non-accented characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 13, 2008 at 8:39 AM, Per Jessen <per@xxxxxxxxxxxx> wrote:

> Yannick Warnier wrote:
>
> > That would probably work out if it wasn't too dependent on the locales
> > to work. I'm developing an open-source product which could end up on a
> > server without the locales for French but be used by some French
> > people, which would make (as far as I can get out of one comment from
> > Richie in the PHP manual) the transliteration somewhat wrong.
>
> With the kind of rough conversion/transformation you're doing, is the
> locale really very important anyway?
>
>
> /Per Jessen, Zürich
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Why should the server folder name matter? Make it a hash and store the user
provided name in a db. Then when presenting the data to the user just show
the user provided name as the folder name. This would also handle multiple
users trying to use the same folder name for their stuff.

-- 

Bastien

Cat, the other other white meat

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux