Hi Mickael,<br><br>This is a "classical" locale issue with french configurations.<br><pre><span style="font-family:arial,helvetica,sans-serif"><font>Try to add <br> setlocale(LC_ALL, "C");</font></span><span style="font-family:arial,helvetica,sans-serif"><font><code><span class="pun"><br>
</span></code></font><font>or <br></font><font><code><span class="pun"><code><span style="font-family:arial,helvetica,sans-serif"><font><span class="pln"> std</span><span class="pun">::</span><span class="pln">setlocale</span><span class="pun">(</span><span class="pln">LC_ALL</span><span class="pun">,</span><span class="pln"> </span><span class="str">"C"</span><span class="pun">);<br>
<br></span></font></span><span class="pun"></span></code></span></code><font><font><font><font>in the first<font> line of your main function.<br><br><font>Joachim</font><br></font></font></font></font></font></font></span><br>
</pre><br><br><br><div class="gmail_quote">2012/12/19 R M <span dir="ltr"><<a href="mailto:mlokida@yahoo.fr" target="_blank">mlokida@yahoo.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">Hi,<br><br>I use vtk 5.8 with Linux Centos 6. <br>My problem is when I use vtkOBJExporter, vtkVRMLExporter and vtkPolyDataWriter, files are created but I can't open them anymore.<br>
It seems that I have a probem with the format. I have "," instead of "." as numbers separators. <br>So, I have change the locals of my system. It only works for the vtk output but I have still problems with obj and wrl that I have exported. <br>
I have this message: <br><br>I can't open them anymore with my application. I have a reading error (<span style="font-size:8.25pt;font-family:'Courier'">Error reading ascii data. Possible mismatch of datasize with declaration.)</span><br>
<br>Any idea in order to save and open them correctly ?<br><br>Thanks !<br><div><br></div></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, R&D Enginee</i>r</font> <br>
<b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>