View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000214 | FreeCAD | Bug | public | 2010-11-29 13:15 | 2011-01-31 15:13 |
| Reporter | separent | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | not fixable | ||
| Platform | Windows | ||||
| Summary | 0000214: Can't import files from directory with non-ascii characters | ||||
| Description | FreeCAD version 0.10 3521, Windows XP SP3. Importing a STEP file from a file located in a directory with a non-ascii character (É) gives "Cannot import file STEP file". | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
This is a limitation of OpenCascade because it doesn't offer a way to use C++ streams or wide char. |
|
|
A posibly way is use the old DOS name mangling in Windows. It can, as far as I recall, transform all kind of (long or odd) file name into a form DOS (or Windows) can understand... On UNIX it would be possible to create a temporary hard (or soft) link to the file in a place where the path is ok and try load from that.... |
|
|
Its a problem, but not clear if solvable by us... |
|
|
> On UNIX it would be possible to create a temporary hard (or soft) link to the > file in a place where the path is ok and try load from that... For UNIX nothing needs to be done because there filenames are UTF-8 encoded and because this can be handled by a char string everything is fine. On Windows filenames are UCS-2 encoded and thus must be handled with a wchar_t string. On Mac OS X filenames are UCS-4 encoded whereby I don't have any experience how to handle this internally. What we need is a way for the IGES/STEP reader/writer to use either a FILE pointer or an std::o/istream. Maybe the new version for OCC 6.4 which should be released in the near future offers this way. |
|
|
OCC makes fixing not possible |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-11-29 13:15 | wmayer | New Issue | |
| 2010-11-29 13:16 | wmayer | Note Added: 0000440 | |
| 2010-11-29 13:16 | wmayer | Reporter | wmayer => separent |
| 2010-12-08 12:12 |
|
Note Added: 0000447 | |
| 2010-12-08 12:14 |
|
Note Added: 0000448 | |
| 2010-12-08 12:14 |
|
Status | new => acknowledged |
| 2010-12-11 15:46 | wmayer | Note Added: 0000450 | |
| 2011-01-31 15:13 |
|
Note Added: 0000566 | |
| 2011-01-31 15:13 |
|
Status | acknowledged => closed |
| 2011-01-31 15:13 |
|
Resolution | open => not fixable |
FreeCAD