occt: master e3249d8e

Author Committer Branch Timestamp Parent
kgv bugmaster master 2019-05-06 13:00:16 master 48ba1811
Changeset 0030694: Data Exchange - support non-standard GB2312-encoded STEP files

STEPCAFControl_Reader::SourceCodePage() - added property defining text encoding
for converting names within STEPCAFControl_Reader::ReadNames() method.
Added associated "read.stepcaf.codepage" parameter,
which default value is Resource_UTF8, preserving current behavior.

Resource_FormatType enumeration has been extended by UTF8 and SystemLocale values.
Resource_Unicode - added conversion methods taking Resource_FormatType as argument.

GetName command has been corrected to NOT replace non-Latin symbols.
mod - src/DDataStd/DDataStd_NameCommands.cxx Diff File
mod - src/Resource/Resource_FormatType.hxx Diff File
mod - src/Resource/Resource_Unicode.cxx Diff File
mod - src/Resource/Resource_Unicode.hxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Controller.cxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Reader.cxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Reader.hxx Diff File
mod - src/XDEDRAW/XDEDRAW_Common.cxx Diff File
mod - tests/bugs/step/bug23251 Diff File
mod - tests/bugs/step/bug26342 Diff File
add - tests/bugs/step/bug30694 Diff File