framework: add encoding fixer
change encoding from iso to utf-8
gcc build: fix unintended const cast