We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums AIS China 流体 windows/Linux系统下udf可以正常使用,换到Linux/windows下无法编译? Reply To: windows/Linux系统下udf可以正常使用,换到Linux/windows下无法编译?

Yuanyuan Xiao
Ansys Employee

这是因为两种系统的默认编码方式不一样,在windows下是ANSI,而LinuxUTF-8。在windows下写好的UDF源代码需要另存为ANFI格式的,而linux下写好的UDF源码文件需要保存为UTF-8的格式。这样,问题应该可以解决。