Illegal multibyte sequence bug with usr_frag UDFs

BUG REPORT

Type of issue
I am new in fortran , and after i finished the usr_drag file, it compiled successfully but failed to run with the error followed:
Error: Error writing log file solver_log.txt for solver output: ‘gbk’ codec can’t encode character ‘\u06b2’ in position 18: illegal multibyte sequence
Could anyone help me for some solving advise? I just tried to write two .f files(use_drag.f and ANN_mod.f).
tfm_2d_ug_0.10_solid_0.15_2024-07-14T162822.817158.zip (62.7 KB)
here attached the bug report file, thank you!

Please try running MFiX with language set to English.
Or, edit the file %CONDA_PREFIX%/Lib/site-packages/mfixgui/logger.py
and change line 47 from

                f = open(fname, mode=open_mode, buffering=1)

to

                f = open(fname, mode=open_mode, buffering=1, encoding='utf8')

This fix will be added to the next release.