Fix almost all string encoding c issues
Fix comments