在VPS中使用西班牙字符时错误

发布于 2025-02-07 06:07:50 字数 181 浏览 0 评论 0原文

首先,感谢您的帮助。 我在Python中有一个我想从VPS运行的脚本,情况是脚本包含字母ñ和其他西班牙字符,当我尝试从SSH运行它时,它会出现错误...我注意到了而且我什至无法将这些字符写入控制台,因为它向我展示了类似(arg:1)

编码和语言之类的东西:es_es.u​​tf-8

关于为什么会发生这种情况的任何想法?

First of all thanks for your help.
I have a script in python which I want to run from a vps, the case is that the script contains the letter ñ and other Spanish characters and when I try to run it from the ssh it explodes with an error... I have noticed and I can't even write these characters to the console as it shows me something like ( arg : 1)

The encoding and language are these: es_ES.UTF-8

any ideas on why this happens?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文