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

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.

主站蜘蛛池模板: 济阳县| 清涧县| 城市| 永春县| 阿巴嘎旗| 高尔夫| 武冈市| 古丈县| 句容市| 汉中市| 安丘市| 阳泉市| 仁寿县| 上犹县| 错那县| 简阳市| 正蓝旗| 金乡县| 元阳县| 吉木乃县| 灵璧县| 攀枝花市| 河西区| 锡林郭勒盟| 陆良县| 托克逊县| 沽源县| 靖宇县| 上虞市| 临漳县| 额济纳旗| 扶风县| 宁强县| 天等县| 德庆县| 富裕县| 平顺县| 广宁县| 东乌珠穆沁旗| 璧山县| 蒲江县|