You might want to change this comment to be more clear about what kind of weirdness happened. Maybe something like:

```python
else:
    # Some character that we don't care about, like a control character.
    # It's fine, we'll skip it.
    continue
```