inline const std::wstring to_wstr_shim<boost::wformat>(boost::wformat& f) { return f.str(); }
void mxinfo(const boost::wformat &info) { mxinfo(to_utf8(info.str())); }
void mxinfo(const boost::wformat &info) { mxmsg(MXMSG_INFO, to_utf8(info.str())); }