Refactor #9863 Convert to utf-8 all core files
http://tracker.modx.com/issues/9863