|Anonymous | Login||2020-10-22 18:26 MSK|
|My View | View Issues | Change Log | Roadmap|
|occt: master 8f00325d|
|abv||abv||master||2019-11-16 05:59:38||master 9a90a452|
|Affected Issues||0031171: Draw - support Unicode input / output in console on Windows|
|Changeset||0031171: Draw - support Unicode input / output in console on Windows
System console is configured at DRAW start to use UTF-8 encoding, for cout and cin to deal correctly with Unicode symbols.
Use of std::wcout is avoided as it leads to corrupted output.
Command testgrid is improved to enforce UTF-8 encoding in child DRAW processes to preserve Unicode symbols in captured output.
Test bugs fclasses bug22125 is refactored:
- avoid dependency on external data file
- avoid producing snapshot
- check that Unicode name of the file created by OCCT procedure matches the name interpreted by Tcl functions
|mod - src/Draw/CommandWindow.cxx|
|mod - src/Draw/Draw.cxx|
|mod - src/Draw/Draw_Interpretor.cxx|
|mod - src/Draw/Draw_Main.cxx|
|mod - src/DrawResources/TestCommands.tcl|
|mod - tests/bugs/fclasses/bug22125|
|Copyright © 2000 - 2020 MantisBT Team|