utf support

giorgio79 - July 4, 2009 - 07:31
Project:Whois lookup
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

It seems utf characters are not supported.

If you lookup index.hu a foreign domain for example, accented characters are broken.

Cheers,
G

#1

helmo - December 4, 2009 - 14:18
Status:active» needs review

Since the whois does not mandate a specific encoding this is a bit tricky. However the attached patch introduces utf8_encode() in a number of places.

It seems to do the trick for index.hu, but it screws up index.cn.

Any ideas would be welcome.

AttachmentSize
whois-509952-utf_support.patch 2.2 KB
 
 

Drupal is a registered trademark of Dries Buytaert.