What is state of the art: Unicode file names on Windows

Sure, it’s pretty trivial, you don’t even need a real file input file.

#!/usr/bin/env python

import vtk

file_name = ‘三维图片.png’
with open(file_name, ‘w’): pass

reader = vtk.vtkPNGReader()
reader.SetFileName(file_name)
reader.Update()

Error is:

ERROR: In IO\Image\vtkPNGReader.cxx, line 118
vtkPNGReader (000001B86DE6E3F0): Unable to open file 三维图片.png