View Issue Details

IDProjectCategoryView StatusLast Update
0027225CommunityOCCT:Data Exchangepublic2016-06-24 06:52
ReporterRoman Lygin Assigned Toabv 
PrioritynormalSeverityfeature 
Status closedResolutionno change required 
Product Version6.9.1 
Summary0027225: Enable support of Unicode filenames for IGES and STEP readers/writers
DescriptionCurrently OCC only supports const char* API for specifying filenames.

Given ubiquitous support of Unicode, support of UTF16 file names (via TCollection_ExtendedString) would be natural to expect.

Additional note:
A possible work-around or a more general solution would be to have std::stream-based API so that the user could open a stream outside of OCC and provide it into API. However this is separate issue and given dependence on FILE* inside the code might require more extensive rewrite. Moreover care should be applied to not undermine performance when migrating to C++ streams.
Steps To ReproduceN/A
Additional information
and documentation updates
Our team might be willing to contribute with the modification if we have some spare cycle. But if you have bandwidth to address this request in 7.0 that would be good.
TagsNo tags attached.
Test case number

Activities

abv

2016-03-09 14:21

manager   ~0051460

Roman, current approach is that you can supply UTF-8 Unicode string (as char*) to all file IO methods. Does not it work for you?

Roman Lygin

2016-03-10 11:58

developer   ~0051502

Thanks Andrey. That works indeed. This was unclear given the char* API.

Issue History

Date Modified Username Field Change
2016-03-03 15:23 Roman Lygin New Issue
2016-03-03 15:23 Roman Lygin Assigned To => gka
2016-03-09 14:04 Roman Lygin Assigned To gka => AlexanderZashivalov
2016-03-09 14:21 abv Note Added: 0051460
2016-03-10 11:58 Roman Lygin Note Added: 0051502
2016-03-10 11:58 Roman Lygin Assigned To AlexanderZashivalov => abv
2016-03-10 11:58 Roman Lygin Status new => resolved
2016-03-10 11:58 Roman Lygin Steps to Reproduce Updated
2016-03-10 22:22 abv Status resolved => assigned
2016-06-24 06:52 abv Status assigned => closed
2016-06-24 06:52 abv Resolution open => no change required
2016-06-24 06:52 abv Target Version 7.1.0 =>