Handling Unicode Domain Names?
Posted: Sun Mar 29, 2009 8:12 am
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?
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?