Skip to content

Commit

Permalink
change codec to ISO-8859-1 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
martfrau authored Feb 22, 2024
1 parent 5856c78 commit 6c11774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ntrip_client/ntrip_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def connect(self):
# Get the response from the server
response = ''
try:
response = self._server_socket.recv(_CHUNK_SIZE).decode('utf-8')
response = self._server_socket.recv(_CHUNK_SIZE).decode('ISO-8859-1')
except Exception as e:
self._logerr(
'Unable to read response from server at http://{}:{}'.format(self._host, self._port))
Expand Down

0 comments on commit 6c11774

Please sign in to comment.