diff --git a/HISTORY.rst b/HISTORY.rst index bfac38ae4e..a2bf6ad8d2 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -6,6 +6,11 @@ Release Notes PlatformIO Core 4 ----------------- +4.3.3 (2020-04-28) +~~~~~~~~~~~~~~~~~~ + +* 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 bff1fc845b..790be9c199 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit bff1fc845ba76ef25d692ba6079123148f783048 +Subproject commit 790be9c1994750272d1312b0b4f4b50ba1973071 diff --git a/platformio/__init__.py b/platformio/__init__.py index 2c57b84162..78bda530ce 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION = (4, 3, 2) +VERSION = (4, 3, 3) __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/proc.py b/platformio/proc.py index 1937b257a8..80e50201a0 100644 --- a/platformio/proc.py +++ b/platformio/proc.py @@ -20,7 +20,6 @@ from platformio import exception from platformio.compat import ( - PY2, WINDOWS, get_filesystem_encoding, get_locale_encoding, @@ -31,10 +30,7 @@ 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()