Cannot load textures with non-ascii characters in Windows

Project:YafaRay
Component:YafaRay Core
Category:bug report
Priority:minor
Assigned:David Bluecame
Status:closed
Description

Reported in: http://blenderartists.org/forum/showthread.php?389385-YafaRay-E-(Experimental)-v2-0-0-builds-Windows-Linux-and-Mac-OSX-for-Blender-2-76b&p=2989734&viewfull=1#post2989734

Oyster;2989734 wrote:
bug report: if the image texture name (includes the directory name) has non-English characters( in my case, Chinese), yafray will not use this image file. Sorry, the encoding/decoding in python always messes my mind, I have tried to fix this peoblem but without success.
[ATTACH]417477[/ATTACH]


I've been investigating this today and it looks like a horrible Windows-Linux-Mac character encoding incompatibility between operating systems, codepages and compilers. It could be fixed by adding OS and compiler-dependant code for each combination but it would take a lot of time and effort, not worth it in my opinion for now. I will keep this as an open issue but postponed until we get more time and resources.

Comments

#1

Assigned to:Anonymous» David Bluecame
Status:postponed» ready to commit

Hello,

This will be solved in the next YafaRay-E version. Really difficult to solve, by the way...

#2

Status:ready to commit» fixed

Fixed in v3.0.0-beta: http://www.yafaray.org/community/forum/viewtopic.php?f=15&t=5173

#3

Status:fixed» closed

Closing as it was marked as "fixed" for 4 weeks without any further comments from users.