diff --git a/format.cc b/format.cc index a599cabf..566a0104 100644 --- a/format.cc +++ b/format.cc @@ -840,7 +840,7 @@ void fmt::internal::PrintfParser::Format( writer.write_str(arg.string, spec); break; case Arg::WSTRING: - writer.write_str(arg.wstring, spec); + writer.write_str(internal::CharTraits::convert(arg.wstring), spec); break; case Arg::POINTER: if (spec.type_ && spec.type_ != 'p')