官术网_书友最值得收藏!

Getting ready

We will read a file named unicode.html from our local web server, located at http://localhost:8080/unicode.html.  This file is UTF-8 encoded and contains several sets of characters in different parts of the encoding space. For example, the page looks as follows in your browser:

The Page in the Browser

Using an editor that supports UTF-8, we can see how the Cyrillic characters are rendered in the editor:

The HTML in an Editor

Code for the sample is in 02/06_unicode.py.

主站蜘蛛池模板: 建阳市| 台南县| 东乡县| 建湖县| 西盟| 大荔县| 茂名市| 库尔勒市| 息烽县| 扶余县| 榆中县| 雅安市| 任丘市| 广水市| 中卫市| 嫩江县| 谢通门县| 贺州市| 吉木萨尔县| 廉江市| 玛纳斯县| 辽宁省| 富锦市| 庐江县| 平和县| 万载县| 蓝山县| 富平县| 外汇| 涟水县| 高淳县| 宿州市| 南和县| 周宁县| 福鼎市| 梁河县| 长葛市| 仁怀市| 安阳市| 怀宁县| 桑日县|