Skip to content
Programming with Unicode, book written by Victor Stinner
Python C Makefile Batchfile Shell
Find file
New pull request
Latest commit cf19f47 @haypo Merge pull request #15 from dveeden/epub
Add epub as build option
Failed to load latest commit information.
.gitignore ignore the build/ directory
Makefile Add epub as build option
README disable rst2pdf.pdfbuilder extension
about.rst write when I started to write the book escape pipe latex: remove asian characters rename master_doc to index.rst
definitions.rst definitions: fix typo
encodings.rst encodings: reworded
good_practices.rst good_practices: remove article, fix_typo, reword
guess_encoding.c import from mercurial import from mercurial
guess_encoding.rst simplify isUTF8()
historical_encodings.rst fix broken references
index.rst rename master_doc to index.rst
issues.rst Move mojibake section to definitions.rst.
libraries.rst libraries: glib uses the current locale encoding
make.bat import from mercurial
nightmare.rst typo: ooff -> of
operating_systems.rst Fix issue #7: UTF-16 encoding
programming_languages.rst Add unicode_literals future import for Python 2 fix
see_also.rst fix all cross references
surrogate_pair.c import from mercurial
unicode.rst bom; surrogates import from mercurial import from mercurial
unicode_encodings.rst Fix issue #6: fix typo "higgest" add



"Programming with Unicode" is a book written by Victor Stinner.


 * Sphinx 1.0 or more recent: sudo pip install sphinx

 * make html:

   * sudo apt-get install dvipng (for pngmath)

 * make pdf:

   * edit to enable rst2pdf.pdfbuilder extension: edit extensions line
   * sudo apt-get install rst2pdf
   * sudo apt-get install python-matplotlib
   * make pdf

 * make latex:

   * Debian: sudo apt-get install texlive-latex-base texlive-lang-cyrillic
   * Fedora: sudo yum install texlive-latex
   * texlive-lang-cyrillic: Cyrillic (mojibake section)
   * For make LaTeX ./


Exception occurred:
  File "/usr/lib/python2.7/site-packages/sphinx/writers/", line 194, in __init__
    lang = babel.get_language(babel.language_code)
AttributeError: 'ExtBabel' object has no attribute 'language_code'

=> lang = babel.get_language()
Something went wrong with that request. Please try again.