1 Star 0 Fork 0

qpython-android/qpython3-toolchain

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0001-fix-default-decoding.patch 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
river 提交于 2018-08-11 16:22 +08:00 . Fixed:
From 2afc40a1767c8dd84915d701ea0946880e5b30d5 Mon Sep 17 00:00:00 2001
From: river <riverfor@gmail.com>
Date: Sat, 11 Aug 2018 03:04:05 -0400
Subject: [PATCH] fix-default-decoding
---
Python/bltinmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 9ce3b27..05f50e0 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -22,7 +22,7 @@ const char *Py_FileSystemDefaultEncoding = "mbcs";
#elif defined(__APPLE__)
const char *Py_FileSystemDefaultEncoding = "utf-8";
#else
-const char *Py_FileSystemDefaultEncoding = NULL; /* use default */
+const char *Py_FileSystemDefaultEncoding = "utf-8"; /* use default */
#endif
/* Forward */
--
2.7.4
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/qpython-android/qpython3-toolchain.git
git@gitee.com:qpython-android/qpython3-toolchain.git
qpython-android
qpython3-toolchain
qpython3-toolchain
master

搜索帮助