From 2a0e5f667b616d5a460d249712e24951b51bbc6d Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 4 May 2019 15:35:17 +0300 Subject: [PATCH] Fix build on some Windows machines using non-Latin locales. Fixes #165 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5f46008e..5870d423 100755 --- a/Makefile +++ b/Makefile @@ -13,6 +13,10 @@ ifneq ($(findstring MSYS,$(PLATFORM)),) PLATFORM := windows32 endif +ifeq ($(PLATFORM),windows32) +_ := $(shell chcp 65001) +endif + ifeq ($(PLATFORM),Darwin) DEFAULT := cocoa else