environment/install-environment #24
Replies: 4 comments 2 replies
-
解释一下,为什么 zig 一般情况下会在 windows 输出中文为乱码? 这其实是一个比较古老的问题,windows 在简体中文的设置下终端(CMD 和 Powershell)输出编码均为GBK编码。 而 zig 的是将源文件视作UTF-8编码来处理的,这就导致编码不同出现了输出乱码的情况。
同时实际上 windows 为了处理这个问题,在内置的标准方法中内置了 事实上,这个问题其实在 c 和 c++上面也会经常遇到,通常老师一边会告诉你把 C/C++ 源文件的编码改为 GBK 再进行编译,这种方法虽然可行,但不提倡! |
Beta Was this translation helpful? Give feedback.
-
Scoop 是一个适用于 Windows 的命令行安装程序,它可以帮助你安装和管理应用程序,而无需担心环境变量和路径问题。Scoop 专为开发者设计,能够轻松地安装工具如 Git、Python 和当然也包括 Zig。 要使用 Scoop 安装 Zig 的 nightly 版本,请按照以下步骤操作:
请注意,Scoop 的仓库更新可能不会与 Zig 的官方 nightly 发布完全同步,所以可能会有一些延迟。如果你需要最新的构建,最好的方式仍然是直接从 Zig 的官方网站下载。 |
Beta Was this translation helpful? Give feedback.
-
期待能Debian官方源直接安装 |
Beta Was this translation helpful? Give feedback.
-
asdf v0.16.7 命令有变化
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
environment/install-environment
简单、快速地学习 Zig,ziglang中文教程,zig中文教程
https://course.ziglang.cc/environment/install-environment.html
Beta Was this translation helpful? Give feedback.
All reactions