diff doc/catalogs.txt @ 85:e10f82c1d4c4

Add unit tests for extracting translator comments from python sources.
author cmlenz
date Sun, 10 Jun 2007 17:37:50 +0000
parents 80e895a498a3
children 8a703ecdba91
line wrap: on
line diff
--- a/doc/catalogs.txt
+++ b/doc/catalogs.txt
@@ -185,6 +185,12 @@
         :rtype: ``iterator``
         """
 
+.. note:: Any strings in the tuples produced by this function must be either
+          ``unicode`` objects, or ``str`` objects using plain ASCII characters.
+          That means that if sources contain strings using other encodings, it
+          is the job of the extractor implementation to do the decoding to
+          ``unicode`` objects.
+
 Next, you should register that function as an entry point. This requires your
 ``setup.py`` script to use `setuptools`_, and your package to be installed with
 the necessary metadata. If that's taken care of, add something like the
Copyright (C) 2012-2017 Edgewall Software