MantisBT - Community
View Issue Details
0028353Community[OCCT] OCCT:Samplespublic2017-01-13 15:282017-09-29 16:24
BenjaminBihler 
apn 
normalminor 
closedfixed 
WindowsVC++ 201564 bit
[OCCT] 7.1.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
Not needed
0028353: Samples - IESample cannot write files to paths with special characters
Converting file names into latin charcode is incorrect. See example line:

status = writer.Write( (Standard_CString)file.toLatin1().constData() );
Not required
No tags attached.
related to 0027880closed bugmaster Open CASCADE Samples - fix handling of Unicode paths within MFC import/export sample 
related to 0026723closed bugmaster Open CASCADE Qt IE sample can not import STEP and IGES files with names containing not ascii symbols 
child of 0022484closed bugmaster Open CASCADE UNICODE characters support. 
Issue History
2017-01-13 15:28BenjaminBihlerNew Issue
2017-01-13 15:28BenjaminBihlerAssigned To => BenjaminBihler
2017-01-13 15:38gitNote Added: 0062577
2017-01-13 15:43BenjaminBihlerAssigned ToBenjaminBihler => bugmaster
2017-01-13 15:43BenjaminBihlerStatusnew => resolved
2017-01-13 15:43BenjaminBihlerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15812#r15812
2017-01-13 16:09kgvNote Added: 0062581
2017-01-13 16:09kgvStatusresolved => reviewed
2017-01-13 16:09kgvSummaryIESample cannot write files to paths with special characters => Samples - IESample cannot write files to paths with special characters
2017-01-13 16:10kgvRelationship addedchild of 0022484
2017-01-13 16:10kgvRelationship addedrelated to 0027880
2017-01-13 16:28apvAssigned Tobugmaster => apv
2017-01-13 19:39kgvRelationship addedrelated to 0026723
2017-01-16 17:27apvTest case number => Not needed
2017-01-17 13:12apvNote Added: 0062697
2017-01-17 13:12apvAssigned Toapv => bugmaster
2017-01-17 13:12apvStatusreviewed => tested
2017-01-17 13:13apvNote Added: 0062698
2017-01-20 16:12apnChangeset attached => occt master 6cfc06f0
2017-01-20 16:12apnAssigned Tobugmaster => apn
2017-01-20 16:12apnStatustested => verified
2017-01-20 16:12apnResolutionopen => fixed
2017-02-08 11:36gitNote Added: 0063611
2017-09-29 16:21aivFixed in Version => 7.2.0
2017-09-29 16:24aivStatusverified => closed

Notes
(0062577)
git   
2017-01-13 15:38   
Branch CR28353 has been created by BenjaminBihler.

SHA-1: 85b787febc5314b1b712d7d51f110778edead770


Detailed log of new commits:

Author: Benjamin Bihler
Date: Fri Jan 13 13:29:58 2017 +0100

    0028353: IESample cannot write files to paths with special characters
    
    Changed charcode conversion to UTF-8.
(0062581)
kgv   
2017-01-13 16:09   
Dear bugmaster,

please check the sample on Windows and Linux with different scenarios of using UNICODE file paths (e.g. in file names of imported and exported files, in folders, with mixed symbols from French and German languages).
(0062697)
apv   
2017-01-17 13:12   
Dear BugMaster,

Branch CR28353 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
SHA-1: 85b787febc5314b1b712d7d51f110778edead770

Number of compiler warnings:
occt component:
   Linux: 0 (0 on master)
   Windows: 0 (0 on master)
   MasOS: 0 (0 on master)
products component:
   Linux: 63
   Windows: 0
   MacOS: 1138

Regressions/Differences:
Not detected

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 93335914 / 92921144 [+0.45%]
Total CPU difference: 21078.890000000138 / 21505.8700000003 [-1.99%]

Testing on Windows:
Total MEMORY difference: 58632037 / 58649007 [-0.03%]
Total CPU difference: 19441.40622359854 / 19749.742200098677 [-1.56%]
(0062698)
apv   
2017-01-17 13:13   
Manual testing of IESample on Windows and Linux - OK
(0063611)
git   
2017-02-08 11:36   
Branch CR28353 has been deleted by kgv.

SHA-1: 85b787febc5314b1b712d7d51f110778edead770