Count number of bytes instead of number of characters for truncating messages. Closes GH-1038.
Count number of bytes instead of number of characters for truncating messages. Closes GH-1038.

ProgVal/Limnoria-test,Ban3/Limnoria,ProgVal/Limnoria-test,Ban3/Limnoria