mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 15:20:34 +00:00
a7f704b39b
The Unicode support added in 2.1 (PR #624) inadvertently broke accepting `bytes` as std::string/char* arguments. This restores it with a separate path that does a plain conversion (i.e. completely bypassing all the encoding/decoding code), but only for single-byte string types. |
||
---|---|---|
.. | ||
pybind11 |