encoding utf for views and models