i18ndude performs various tasks related to ZPT's, Python Scripts and i18n.
i18ndude works with Python 2.7, 3.6, 3.7, pypy and pypy3. Older versions are not supported anymore, use the i18ndude 4.x series if you need that.
You can install
i18ndude with Buildout or
pip you may want to look at our requirements.txt.
When running some
i18ndude commands, you might get a
This can especially happen when
i18ndude prints the result and you redirect the output or pipe it.
This is tricky, maybe impossible, to solve in
See this related question on stackoverflow.
This question points to a solution that you yourself can do when you encounter this.
In the (Unix-like) shell, do this:
This fixes UnicodeEncodeErrors when piping or redirecting output that contains non-ascii. I (Maurits) have this line in my bash profile now.
Note: if you get a
UnicodeDecodeError, so 'decode' instead of 'encode', then it may be something that needs fixing in
Please report it then.