0

我想用 wxErlang 创建一个应用程序,其中我需要使用 UTF-32 字符串。我可以使用 UTF-8 编码从文件中加载源代码,但是当文件转换为 UTF-32 时出现错误。我需要在我的应用程序中使用西里尔字符,这就是我想用 UTF-32 编码解决这个问题的原因。

4

1 回答 1

1

If you look at the unicode usage in Erlang page, you'll see that the current release of Erlang, 16A, supports UTF-8 source files. UTF-32 is not supported. However, if you want Cyrillic, UTF-8 has everything you can write in UTF-32.

于 2013-04-29T08:27:38.147 回答