10000 bpo-43667: Fix broken Unicode encoding in non-UTF locales on Solaris by kulikjak · Pull Request #25096 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43667: Fix broken Unicode encoding in non-UTF locales on Solaris #25096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 30, 2021
Merged
Prev Previous commit
Next Next commit
Fix include
  • Loading branch information
kulikjak committed Apr 28, 2021
commit afaeaa2e0498fa341165541f58bb69d3091cdd20
4 changes: 4 additions & 0 deletions Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <windows.h>
#endif

#ifdef HAVE_NON_UNICODE_WCHAR_T_REPRESENTATION
#include "pycore_fileutils.h" // _Py_LocaleUsesNonUnicodeWchar()
#endif

/* Uncomment to display statistics on interned strings at exit
in _PyUnicode_ClearInterned(). */
/* #define INTERNED_STATS 1 */
Expand Down
0