<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Hi David,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Thanks for the quick reply.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
 Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Sounds complicated, but I'll browse through the windows docs.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>In my search for a solution I also bumped into vtksys::Encoding::ToNarrow(), however this gives me an 'unresolved external symbol' link error. I have never used stuff in vtksys (and similar libs like vtkpng, vtktiff) before, so I am not really sure I am supposed to, i.e., these are just functions used by cmake and/or in just the vtk build.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>Maarten</span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, June 5, 2014 3:44:46 PM, David Gobbi <david.gobbi@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Hi Maarten,<br clear="none"><br clear="none">VTK just uses C++ streams in
 most of its readers/writers.  On OS X,<br clear="none">you'll find that you can use utf-8 filenames just fine.  Same for linux,<br clear="none">for the most part at least.<br clear="none"><br clear="none">For Windows, you'd have to set the codepage to 65001 (utf-8).  I've<br clear="none">done this successfully for console I/O (via SetConsoleOutputCP()),<br clear="none">but you'll have to look through the Windows docs to see what function<br clear="none">is needed to change the codepage used by CreateFileA.<br clear="none"><br clear="none"> - David<br clear="none"><br clear="none"><div class="yqt2143222213" id="yqtfd82172"><br clear="none">On Thu, Jun 5, 2014 at 1:17 PM, Maarten Beek <<a shape="rect" ymailto="mailto:beekmaarten@yahoo.com" href="mailto:beekmaarten@yahoo.com">beekmaarten@yahoo.com</a>> wrote:<br clear="none">> Hi all,<br clear="none">><br clear="none">> I was wondering if there is a multi-platform way of
 loading a file (e.g.<br clear="none">> tif, stl) with chinese, russian characters in the file path in VTK.<br clear="none">> How would I build VTK with Unicode characters?<br clear="none">> Can I use a non-unicode VTK in a unicode app?<br clear="none">><br clear="none">> Thanks - Maarten<br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>