How can I view Arabic/Persian numbers in a HTML page with strict doctype?

后端 未结 10 1873
时光说笑
时光说笑 2020-12-18 19:26

I have an HTML page that is right-to-left. When I don\'t use any doctype, my numbers are in Arabic/Persian, but when I use strict mode they turn to English.

         


        
10条回答
  •  离开以前
    2020-12-18 19:46

    firefox default render number to latin for change this setting go to addressbar of Firefox and type about:config this page is advanced setting of firefox find this line "bidi.numeral" and double click on it if set value to "1" firefox for render text look at context. if text is persian render number to persian. if set value to "4" alwase render digit number to persian

提交回复
热议问题