change encoding; core review