Project:Whois lookup
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:helmo
Status:closed (fixed)

Issue Summary

It seems utf characters are not supported.

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

Cheers,
G

Comments

#1

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

#2

Assigned to:Anonymous» helmo
Status:needs review» fixed

Just committed a modified version of this patch, which includes a distinction for .hu domains.

See: http://drupalcode.org/viewvc/drupal/contributions/modules/whois/whois.mo...

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

The 4.2.0 version of the phpwhois library has a fix for the encoding of .hu domains. I have therefore removed the in #2 mentioned distinction from CVS.