adding force encoding for html complex syntax