diff --git a/include/fmt/std.h b/include/fmt/std.h index 205e6dd1..ff81da1a 100644 --- a/include/fmt/std.h +++ b/include/fmt/std.h @@ -137,7 +137,7 @@ template struct formatter { debug_ = true; ++it; } - if (it != end && (*it == 'g')) path_type_ = *it++; + if (it != end && (*it == 'g')) path_type_ = detail::to_ascii(*it++); return it; }