ISO-8859-1 vs UTF-8?

前端 未结 5 1107
臣服心动
臣服心动 2020-12-12 20:25

What should be used and when ? or is it always better to use UTF-8 always? or ISO-8859-1 still has importance in specific conditions?

Is Character-set related to geo

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 21:23

    I find iso-8859-1 very useful on a couple of sites where I have clients sending me text files that were created in Word or Publisher, that I can easily insert into the midst of PHP code and not worry about it - especially where quotes are concerned. These are local, U.S. companies, there is literally no other difference in the text on the pages, and I see no disadvantage in using that character set on those particular pages. All others are UTF-8.

提交回复
热议问题