Fixes encoding warnings

Signed-off-by: Bob Hogg <hogg.bob.2@gmail.com>