Handling Unicode Domain Names?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Handling Unicode Domain Names?

Post 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?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Handling Unicode Domain Names?

Post 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?
(#10850)
Post Reply