Closed v3551G closed 3 years ago
Thank you, for maximum portability, the encoding should be provided (especially for platforms whose default encoding is not utf-8. I have made the change and it should be available shortly in a PR.
Change applied via PR (https://github.com/PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras/pull/6), awaiting merge.
alice_text_generator.py: open(p, mode='r').read() -> open(p, mode='r', encoding='utf-8').read()