From d5099a01f646c3a48ade239483ecdcbbea8dbc03 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Jun 2016 16:13:49 +0530 Subject: [PATCH] ... --- src/calibre/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/constants.py b/src/calibre/constants.py index a2259e75f6..8cc886b10b 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -311,6 +311,8 @@ def get_windows_user_locale_name(): number_formats = None def get_windows_number_formats(): + # This can be changed to use localeconv() once we switch to Visual Studio + # 2015 as localeconv() in that version has unicode variants for all strings. global number_formats if number_formats is None: import ctypes