summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-22 20:17:54 (GMT)
committerFred Drake <fdrake@acm.org>2001-01-22 20:17:54 (GMT)
commitdc40ac0fe08acbf97dcf035219b7d72e34693800 (patch)
tree3195edf4c54aa795d217f59ee3e65cc418901901 /Doc
parent91834c6c7e58069519cb0a0ff8f7fe6b84ee2245 (diff)
downloadcpython-dc40ac0fe08acbf97dcf035219b7d72e34693800.zip
cpython-dc40ac0fe08acbf97dcf035219b7d72e34693800.tar.gz
cpython-dc40ac0fe08acbf97dcf035219b7d72e34693800.tar.bz2
Added link to the "Python Codecs" project at SourceForge.
Changed markup of the list of values for the list of meaningful "errors" values.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcodecs.tex26
1 files changed, 18 insertions, 8 deletions
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex
index bb444a2..acbed9a 100644
--- a/Doc/lib/libcodecs.tex
+++ b/Doc/lib/libcodecs.tex
@@ -122,6 +122,16 @@ represent big endian (\samp{_BE} suffix) and little endian
(\samp{_LE} suffix) byte order using 32-bit and 64-bit encodings.
\end{datadesc}
+
+\begin{seealso}
+ \seeurl{http://sourceforge.net/projects/python-codecs/}{A
+ SourceForge project working on additional support for Asian
+ codecs for use with Python. They are in the early stages of
+ development at the time of this writing --- look in their
+ FTP area for downloadable files.}
+\end{seealso}
+
+
\subsection{Codec Base Classes}
The \module{codecs} defines a set of base classes which define the
@@ -142,14 +152,14 @@ schemes by providing the \var{errors} string argument. The following
string values are defined and implemented by all standard Python
codecs:
-\begin{itemize}
- \item \code{'strict'} Raise \exception{ValueError} (or a subclass);
- this is the default.
- \item \code{'ignore'} Ignore the character and continue with the next.
- \item \code{'replace'} Replace with a suitable replacement character;
- Python will use the official U+FFFD REPLACEMENT
- CHARACTER for the builtin Unicode codecs.
-\end{itemize}
+\begin{tableii}{l|l}{code}{Value}{Meaning}
+ \lineii{'strict'}{Raise \exception{ValueError} (or a subclass);
+ this is the default.}
+ \lineii{'ignore'}{Ignore the character and continue with the next.}
+ \lineii{'replace'}{Replace with a suitable replacement character;
+ Python will use the official U+FFFD REPLACEMENT
+ CHARACTER for the built-in Unicode codecs.}
+\end{tableii}
\subsubsection{Codec Objects \label{codec-objects}}