utils: Fixed a typo in utf-8 decoding.

Unit tests should catch this :(