mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
msvc utf8 conversion in wrapper write()
This commit is contained in:
@@ -87,7 +87,7 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
|||||||
}
|
}
|
||||||
|
|
||||||
void write(const std::string& fn) {
|
void write(const std::string& fn) {
|
||||||
std::ofstream f(fn.c_str());
|
std::ofstream f(IfcUtil::path::from_utf8(fn).c_str());
|
||||||
f << (*$self);
|
f << (*$self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
#include "../ifcparse/IfcBaseClass.h"
|
#include "../ifcparse/IfcBaseClass.h"
|
||||||
#include "../ifcparse/IfcFile.h"
|
#include "../ifcparse/IfcFile.h"
|
||||||
#include "../ifcparse/IfcSchema.h"
|
#include "../ifcparse/IfcSchema.h"
|
||||||
|
#include "../ifcparse/utils.h"
|
||||||
|
|
||||||
#include <BRepTools_ShapeSet.hxx>
|
#include <BRepTools_ShapeSet.hxx>
|
||||||
%}
|
%}
|
||||||
|
|||||||
Reference in New Issue
Block a user