On 08/07/2013 at 22:45, xxxxxxxx wrote:
Hi,
I have the strange issue with non EN C4D version.
Lets say, my C4D R12 is in the RU version and I have one multi-pass.
The code:
import c4d, os
doc = c4d.documents.GetActiveDocument()
rd = doc.GetActiveRenderData()
mp = rd.GetFirstMultipass()
name = mp.GetName()
print type(name), name
os.makedirs(os.path.join("/Users/Simukas/Desktop/TEST/", name))
prints
<type 'str'> Глубина
but the folder will be created with very strange name
\u0413\u043B\u0443\u0431\u0438\u043D\u0430
Explaining image is here.
This issue applies only to R12 and only if C4D interface language is not EN.
Thanks for any comments in advance,
Simonas