diff --git a/HISTORY.rst b/HISTORY.rst index bfac38ae..d7c8bf40 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -6,6 +6,11 @@ Release Notes PlatformIO Core 4 ----------------- +4.3.3 (2020-??-??) +~~~~~~~~~~~~~~~~~~ + +* Fixed "UnicodeDecodeError: 'utf-8' codec can't decode byte" when non-Latin chars are used in project path (`issue #3481 `_) + 4.3.2 (2020-04-28) ~~~~~~~~~~~~~~~~~~ diff --git a/docs b/docs index bff1fc84..256c255e 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit bff1fc845ba76ef25d692ba6079123148f783048 +Subproject commit 256c255e89dad85af1c9a7177f606bac3c282c6c diff --git a/platformio/proc.py b/platformio/proc.py index 1937b257..80e50201 100644 --- a/platformio/proc.py +++ b/platformio/proc.py @@ -20,7 +20,6 @@ from threading import Thread from platformio import exception from platformio.compat import ( - PY2, WINDOWS, get_filesystem_encoding, get_locale_encoding, @@ -31,10 +30,7 @@ from platformio.compat import ( class AsyncPipeBase(object): def __init__(self): self._fd_read, self._fd_write = os.pipe() - if PY2: - self._pipe_reader = os.fdopen(self._fd_read) - else: - self._pipe_reader = os.fdopen(self._fd_read, encoding="utf-8") + self._pipe_reader = os.fdopen(self._fd_read) self._buffer = "" self._thread = Thread(target=self.run) self._thread.start()