diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-06-25 08:08:21 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-06-25 08:09:10 +0200 |
commit | 3ee40c4c4862c92f524eae3894d09a066d6b0a47 (patch) | |
tree | 0e83fcaf39ce18f98dbde8e4f5a61a1879ea2d9f /pyGHDL/libghdl | |
parent | d737564887fd1603c89a045e7b985b765c16d2d6 (diff) | |
download | ghdl-3ee40c4c4862c92f524eae3894d09a066d6b0a47.tar.gz ghdl-3ee40c4c4862c92f524eae3894d09a066d6b0a47.tar.bz2 ghdl-3ee40c4c4862c92f524eae3894d09a066d6b0a47.zip |
errorout_memory.py: decode messages using latin-1
Fix ghdl/ghdl-language-server#122
Diffstat (limited to 'pyGHDL/libghdl')
-rw-r--r-- | pyGHDL/libghdl/errorout_memory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/errorout_memory.py b/pyGHDL/libghdl/errorout_memory.py index bf60c53bb..9f75d0331 100644 --- a/pyGHDL/libghdl/errorout_memory.py +++ b/pyGHDL/libghdl/errorout_memory.py @@ -122,7 +122,7 @@ def Get_Error_Message(Idx: ErrorIndex) -> str: :param Idx: Index from 1 to ``Nbr_Messages`` See :func:`Get_Nbr_Messages`. :return: Error message. """ - return _Get_Error_Message(Idx).decode("utf-8") + return _Get_Error_Message(Idx).decode("iso-8859-1") @export |