micheus,Thank you for send test version.
I tested this, and some otf/ttf font that has japanese file name, they locate in file path that contains non latin string.
Sometimes I checked the one with the extension removed.
These fonts loading and glyph drawing was successful.
Some of font didn't correct glyph draw, but they were very old formats or demo versions with reduced glyphs intendly.
Next, I tested the badge Icon file path as well.
It was okay if the file and directory names contained non latin string.
So,It's okay for normal using.
At last,I tested for the material and file name that contains in data.
As a result,Yafaray rendering will fail if the 3D object, material, or texture name used contains a non-latin string.
See a following log.
Case: Non latin string with a texture name
I received a test plugin and I will tell you the result.
I tried test with 3files rendering.
The Yafaray Rendering on use non-latin name ...
(They have simple scene,one textureed cube)
A) with texture file name
B) with 3D Object name
C) with Material name
I'm going to send to you these samples.
I use the non-latin name with Wings3D internal image.
They connected to Cuve1auv the UV as color,roughness,metalness and emission Texture etc...
Yafaray XML file output stopped in the middle.
XML file data is here.
Code:
<?xml version="1.0"?>
<!-- wpc_yafaray-762-RWTIIQ.xml: Exported from Wings 3D 2.2.6.1 -->
<scene type="triangle">
<!-- Section Materials -->
Probably,for some reason ~ts format string is not working well.
Error Log is here in this time.
10-21-2020, 12:37 PM (This post was last modified: 10-21-2020, 07:45 PM by micheus.)
tkbd, thank you for the file and your usual help with these unicode issues.
I was able to fix the problems.
I just got one error message on console because of a missing file in your zip (an image from your profile directory), but nothing that stopped the render to finish the task.
micheus,I tested with the latest version you sent me yesterday.
The io-lib format should be correct, but I get the same error log as before.
Rendering failed even though no error should have occurred....
So , to do a comparative test , I made the data for latin name.
(All datas are not use unicode), and tried rending again.
A following error message output. Maybe this cause the errors.
micheus,Finally I founded/tried the latest file that you sent to me.
And test it on both of Windows and MacOS.
Yafaray Rendering with non-latin charactors using for resouces data, Icon file and font file Path supports are now OK.
Thank you very much for assiduous and courteous support !!!
----------
tkbd