Right to left languages direction

There is test page for Persian Language here: http://testy.at.or.at/fa

As Persian is a right to left language, there should be these two attributes in HTML tag to make it display correctly:

 dir="RTL" and lang="fa"

Here are before and after screenshots: Before After