fix view encoding method
fix rendering locales origins