Posted by giorgio79 on July 4, 2009 at 7:31am
| 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
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.
#2
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
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.