summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinkham <code@andrewsforge.com>2014-04-28 18:45:09 -0500
committerAndrew Pinkham <code@andrewsforge.com>2014-04-28 18:45:09 -0500
commitf89e6695a370413330b57368c649bc02cad36270 (patch)
tree6d1f437db236598d2e93d91ac1286211425fe59b
parentbab23e5abb2f8a10aa41d13d9c431738491631bf (diff)
downloadpygments-f89e6695a370413330b57368c649bc02cad36270.tar.gz
RTF Formatter: added documentation about new output.
-rw-r--r--pygments/formatters/rtf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pygments/formatters/rtf.py b/pygments/formatters/rtf.py
index 1a5a356f..7af116dc 100644
--- a/pygments/formatters/rtf.py
+++ b/pygments/formatters/rtf.py
@@ -22,6 +22,10 @@ class RtfFormatter(Formatter):
documents with color information and other useful stuff. Perfect for Copy and
Paste into Microsoft® Word® documents.
+ Please note that ``encoding`` and ``outencoding`` options are ignored.
+ The RTF format is ASCII natively, but handles unicode characters correctly
+ thanks to escape sequences.
+
.. versionadded:: 0.6
Additional options accepted: