File: reference-encoding.rst

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _reference.encoding:

:py:attr:`encoding`
===================

The character encoding that was used to parse the feed.

.. note::

    The process by which :program:`Universal Feed Parser` determines the character
    encoding of the feed is explained in :ref:`advanced.encoding`.

.. tip::

    This element always exists, although it may be an empty string if the character
    encoding cannot be determined.