Add latin-1 encoding hints for compatibility with OTP 17

Also:
 * Emacs deleted trailing whitespace when saving.
 * One test was timing out on my machine, so timeout went up from 100 ms to 200ms.