Change from :utf8 to :encoding(UTF-8). Still needs more work on System.pm.