iconv_open: From 'UTF8' To 'hp15CN' 这个错误

发布于 2022-09-07 00:35:25 字数 5067 浏览 16 评论 1

机器环境信息:

zjbjs01-bmbboss%uname -a
HP-UX zjbjs01 B.11.11 U 9000/800 zjbjs01 不限用户数的许可证
zjbjs01-bmbboss%locale
LANG=zh_CN.hp15CN
LC_CTYPE="zh_CN.hp15CN"
LC_COLLATE="zh_CN.hp15CN"
LC_MONETARY="zh_CN.hp15CN"
LC_NUMERIC="zh_CN.hp15CN"
LC_TIME="zh_CN.hp15CN"
LC_MESSAGES="zh_CN.hp15CN"
LC_ALL=
zjbjs01-bmbboss%locale -a|grep utf
C.utf8
univ.utf8
zh_CN.utf8
zh_HK.utf8
zh_TW.utf8
fr_CA.utf8
fr_FR.utf8
de_DE.utf8
it_IT.utf8
ja_JP.utf8
ko_KR.utf8
es_ES.utf8
sv_SE.utf8
en_US.utf8
pt_BR.utf8
el_GR.utf8
zjbjs01-bmbboss%ccm ls
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'hp15CN' To 'UTF8'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'hp15CN' To 'UTF8'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'hp15CN' To 'UTF8'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'hp15CN' To 'UTF8'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
Warning: Incorrect encoding provided: Invalid argument
iconv_open: From 'UTF8' To 'hp15CN'
zjbjs01-bmbboss%

一直有这个错误,另外一个机器相同的环境,却没有这个错误,大家帮忙看看。字符集该装的都装了。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悲喜皆因你 2022-09-10 11:55:07

在两台机器上分别运行一下env命令,看看结果有何不同。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文