mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
More fixes related to locales
This commit is contained in:
@@ -651,6 +651,8 @@ std::string Entity::toString(bool upper) {
|
||||
Load(ids, true);
|
||||
}
|
||||
std::stringstream ss;
|
||||
ss.imbue(std::locale::classic());
|
||||
|
||||
std::string dt = datatype();
|
||||
if ( upper ) {
|
||||
for (std::string::iterator p = dt.begin(); p != dt.end(); ++p ) *p = toupper(*p);
|
||||
|
||||
Reference in New Issue
Block a user