Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Ubuntu 12.10 上安装了带有 UCS2 构建的 Python2.7。我只想用 UCS4 重新编译 python 或启用 UCS4。我该怎么做?
利用:
./configure --enable-unicode=ucs4
配置源以使用 UCS4 支持进行构建。
从./configure --help输出:
./configure --help
--enable-unicode[=ucs[24]] Enable Unicode strings (default is ucs2)