-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does mitsuba support chinese path #1042
Comments
Hi @yiman919 Does the file use UTF-8 ? I also believe that Windows does not use UTF-8 by default in its different shells. The path you give to the CLI tool would therefore not be handled correctly either. FWIW you can force Python to run in UTF-8 mode: https://docs.python.org/3/library/os.html#utf8-mode. |
I am not using python. I was using c++ version binary. |
Yes, I know, hence my comments about the Windows shell. My point was that running the executable is equivalent to: |
This also brings to mind errors related to locale-dependent parsing of numbers. |
Summary
when I run mitsuba to render, if the config file path has chinese characters, it will failed

Also, if the content of xmf has chinese characters, it will also failed
System configuration
System information:
OS: win 11
CPU: Intel 13th i9
GPU: ...
Python version: ...
LLVM version: ...
CUDA version: ...
NVidia driver: ...
Dr.Jit version: ...
Mitsuba version: ...
Compiled with: ...
Variants compiled: ...
Description
Steps to reproduce
The text was updated successfully, but these errors were encountered: