FreeBSD whois is not able to handle umlauts in whois records; the version used by SUSE and other Linux distributions works just fine. How-To-Repeat: whois goodbye-dots.de % Error: 55000000013 Invalid charset for response
Currently whois(1) hardcodes US-ASCII charset for German domains when sending the request. That triggers the error on the remote side, and not on whois(1) itself. Attached to this message there's a patch that uses libiconv for handling UTF-8 data and remove US-ASCII from the request. It seems to be working good on all my tests, be it a German domain or not. The patch can be applied to FreeBSD-CURRENT. -- Diego Giagio diego@giagio.com diego@FreeBSD.org =
Still not working for .de
I get the same error on 10.2-RELEASE, but it works for me on 11.0-CURRENT r289044. base r287030 seems to have fixed this.
FWIW, MacOS seems to have fixed this as well, and they switched to using UTF-8 recently: ---------------------------------------------- $ strings /usr/bin/whois | grep -A1 de.w de.whois-servers.net -T dn -C UTF-8 %s $ whois denic.de | grep ß Address: Kaiserstraße 75-77 Address: Kaiserstraße 75-77 ---------------------------------------------- Until this is fixed, the following workaround could be used for .de domains: $ whois -h whois.denic.de -- "-T dn,ace denic.de"
Looks like this is already fixed in base r294613.
Tested by running "whois denic.de | grep Kaiser" and "whois goodbye-dots.de" on 11.1-RELEASE-p4 and 12.0-CURRENT r333606, worked in both cases. Closing as FIXED
(In reply to Oleksandr Tymoshenko from comment #6) > Tested by running "whois denic.de | grep Kaiser" and "whois goodbye-dots.de" > on 11.1-RELEASE-p4 and 12.0-CURRENT r333606, worked in both cases. Yes, but note that the original issue (whois goodbye-dots.de) does not replicate any longer, even on an affected system, since the data has been changed. ;-) I can confirm, comparing ref10-i386 with ref11-*, for example, that indeed this has been fixed for "whois denic.de".