Programming with Unicode, book written by Victor Stinner
Python C Makefile Batchfile Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.rst
about.rst
ascii_table.py
build_latex.py
conf.py
database_systems.rst
definitions.rst
encodings.rst
good_practices.rst
guess_encoding.c
guess_encoding.py
guess_encoding.rst
historical_encodings.rst
index.rst
issues.rst
libraries.rst
make.bat
nightmare.rst
operating_systems.rst
programming_languages.rst
rsync.sh
see_also.rst
surrogate_pair.c
unicode.rst
unicode_categories.py
unicode_categories_stat.py
unicode_encodings.rst
win.py

README.rst

About

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

The HTML version is available on read-the-docs: https://unicodebook.readthedocs.org

Dependencies

  • Sphinx 1.0 or more recent: sudo pip install sphinx http://sphinx.pocoo.org/
  • make html:
    • sudo apt-get install dvipng (for pngmath)
  • make pdf:
    • edit conf.py 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 ./build_latex.py

LaTeX

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

=> lang = babel.get_language()