Skip to content

Commit

Permalink
docu for en/decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
wodowiesel committed Oct 22, 2024
1 parent f85e76c commit 5e2357e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code-pc/py/GB-Dumper_v1.8_Rev1.3.1_Py_Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
userInput = input()

if (userInput == '0'):
ser.write('HEADER'.encode())
ser.write('HEADER'.encode())
#standard is utf_8 if nothig is specified or use option encoding="ascii", same for decode
#https://docs.python.org/3/library/codecs.html#standard-encodings
#ser.write(b'0') #not sure if needed? probably not

gameTitle = ascii(ser.readline())
Expand Down

0 comments on commit 5e2357e

Please sign in to comment.