]> OCCT Git - occt-copy.git/commit
0031113: Foundation Classes - TCollection_ExtendedString constructor from CString... CR31113
authorabv <abv@opencascade.com>
Sat, 24 Oct 2020 19:46:35 +0000 (22:46 +0300)
committerabv <abv@opencascade.com>
Sat, 24 Oct 2020 19:46:35 +0000 (22:46 +0300)
commit1e63a61a4ee9c619ab416db901f153da8e08d10e
tree8230516b33a4b214a6dc412b2d1ad944ca121a3d
parent9f9490e1ae0eaf38507437019a117437c6317225
0031113: Foundation Classes - TCollection_ExtendedString constructor from CString is confusing

In constructor of TCollection_ExtendedString from Standard_CSTring (const char*), default value for the second argument (isMultiByte) is changed from False to True, for consistency with constructor from TCollection_AsciiString and adopted approach of using UTF-8 encoding for Unicode strings across OCCT.
src/DDataStd/DDataStd_BasicCommands.cxx
src/DDataStd/DDataStd_NameCommands.cxx
src/TCollection/TCollection_ExtendedString.hxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx