[vtk-developers] [VTK 0012121]: STL reader internationalisation screws up

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 22 04:48:59 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.paraview.org/Bug/view.php?id=12121 
====================================================================== 
Reported By:                Jacques Papper
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12121
Category:                   (No Category)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-04-22 04:48 EDT
Last Modified:              2011-04-22 04:48 EDT
====================================================================== 
Summary:                    STL reader internationalisation screws up
Description: 
in the vtkSTLReader.C you use the fscanf method for parsing.
The problem is that on operating systems where the decimal point is a comma
instead of a point, this messes up everything as the STL format itself is not
country dependant..
I think it would be best to enforce the locale for the fscanf in order for VTK /
ParaView to be able to load STLs in different country OS.


Steps to Reproduce: 
Install VTK / ParaView on German or French Linux OS. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-22 04:48 Jacques Papper New Issue                                    
======================================================================




More information about the vtk-developers mailing list