Page 1 of 1

Handling Unicode Domain Names?

Posted: Sun Mar 29, 2009 8:12 am
by kaisellgren
Hello,

I am quite curious abount something that is not much talked about: unicode domain names.

For instance: http://παράδειγμα.δοκιμή

How would one allow his PHP application to work properly with the future unicode domain names, because they will come sooner or later. I have a small list of things that I can think of:

- .htaccess or any other such thing must properly handle URL rewrites and redirects
- if your application stores the domain name, then the table or the db must indeed support unicode.
- output content-type charset=utf-8 or some other unicode encoding
- output html content type too

Anything else?

Re: Handling Unicode Domain Names?

Posted: Sun Mar 29, 2009 11:12 am
by Christopher
I think it is more a case of whether the functions that deal with domain names in Apache and PHP get the string length right. Have you done any research on if these work now or when they are planned to work?