fablab-wue / piTelex

Control a historic teletype device (Telex) with a Raspberry Pi or PC in Python3
GNU General Public License v3.0
32 stars 11 forks source link

@ is not correctly escaped #21

Open MrSeccubus opened 2 years ago

MrSeccubus commented 2 years ago

https://github.com/fablab-wue/piTelex/blob/3ffa643dd9136631691c38355a40ac5fb6ef8739/txCode.py#L70 Provides a translation for the at sign from @ to (AT)

But, https://github.com/fablab-wue/piTelex/blob/3ffa643dd9136631691c38355a40ac5fb6ef8739/txCode.py#L48

Marks @ as a valid TTY character.

So the code in https://github.com/fablab-wue/piTelex/blob/3ffa643dd9136631691c38355a40ac5fb6ef8739/txCode.py#L110 will not convert it.

MrSeccubus commented 2 years ago

I don't think ° is a valid TTY chracter either.