[Bug]: Whois: cannot display whois.nic.ad.jp queries
### Problem description
When querying whois.nic.ad.jp via whois, you receive the message "iconv_open: Invalid argument" and the WHOIS results do not display.
The exit code is 2.
This issue doesn't occur in other distributions, so it appears to be a unique Termux bug rather than an upstream bug.
see: https://github.com/termux/termux-packages/issues/27094
### What steps will reproduce the bug?
1. `pkg install whois`
2. `whois -h whois.nic.ad.jp SS54384JP`
### What is the expected behavior?
Shows WHOIS response
### System information
```shell
Termux Variables:
TERMUX_EXEC__PROC_SELF_EXE=/data/data/com.termux/files/usr/bin/termux-info
TERMUX_VERSION=googleplay.2025.10.05
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
URIs: https://termux.net
Updatable packages:
All packages up to date
termux-tools version:
3.0.8
Android version:
16
Kernel build information:
Linux localhost 6.1.134-android14-11-g66e758f7d0c0-ab13748739 #1 SMP PREEMPT Tue Jul 8 09:17:32 UTC 2025 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 7 Pro
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
```
关闭于 2026-01-06 1 条评论