diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index 469dd399..f2075f8c 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -20,7 +20,7 @@ import sys __copyright__ = "Copyright (C) 2017-2018 Dan Tès ".replace( "\xe8", - "e" if sys.getfilesystemencoding() == "ascii" else "\xe8" + "e" if sys.getfilesystemencoding() != "utf-8" else "\xe8" ) __license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)" __version__ = "0.6.4"