View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0027225 | Community | OCCT:Data Exchange | public | 2016-03-03 15:23 | 2016-06-24 06:52 |
| Reporter | Roman Lygin | Assigned To | |||
| Priority | normal | Severity | feature | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 6.9.1 | ||||
| Summary | 0027225: Enable support of Unicode filenames for IGES and STEP readers/writers | ||||
| Description | Currently 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 Reproduce | N/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. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
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? |
|
|
Thanks Andrey. That works indeed. This was unclear given the char* API. |
| 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 |
|
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 |
|
Status | resolved => assigned |
| 2016-06-24 06:52 |
|
Status | assigned => closed |
| 2016-06-24 06:52 |
|
Resolution | open => no change required |
| 2016-06-24 06:52 |
|
Target Version | 7.1.0 => |