mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 12:12:15 +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) {
|
||||
std::ofstream f(fn.c_str());
|
||||
std::ofstream f(IfcUtil::path::from_utf8(fn).c_str());
|
||||
f << (*$self);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user