Changed charset encoding to utf-8

Added some changes for MODX 2.3