Programming with Unicode, book written by Victor Stinner
Python C Makefile Batchfile Shell
Latest commit 9f18412 Jan 7, 2016 @haypo Merge pull request #12 from dveeden/master
Formatting of README
Permalink
Failed to load latest commit information.
.gitignore ignore the build/ directory Apr 20, 2011
Makefile Add epub as build option Aug 22, 2015
README.rst Correct URL for rtd Aug 16, 2015
about.rst write when I started to write the book Jan 11, 2013
ascii_table.py
build_latex.py
conf.py rename master_doc to index.rst May 31, 2013
database_systems.rst Add databases Aug 16, 2015
definitions.rst definitions: fix typo Aug 15, 2015
encodings.rst encodings: reworded Aug 15, 2015
good_practices.rst good_practices: remove article, fix_typo, reword Aug 15, 2015
guess_encoding.c import from mercurial Dec 29, 2010
guess_encoding.py import from mercurial Dec 29, 2010
guess_encoding.rst simplify isUTF8() Dec 12, 2011
historical_encodings.rst fix broken references Jun 15, 2011
index.rst Add databases to index Aug 16, 2015
issues.rst
libraries.rst libraries: glib uses the current locale encoding Feb 8, 2012
make.bat import from mercurial Dec 29, 2010
nightmare.rst typo: ooff -> of Dec 5, 2011
operating_systems.rst Fix issue #7: UTF-16 encoding Nov 17, 2013
programming_languages.rst Correct Java section in programming_languages.rst Jan 7, 2016
rsync.sh fix rsync.sh Feb 24, 2011
see_also.rst fix all cross references Dec 29, 2010
surrogate_pair.c import from mercurial Dec 29, 2010
unicode.rst bom; surrogates Dec 11, 2011
unicode_categories.py import from mercurial Dec 29, 2010
unicode_categories_stat.py import from mercurial Dec 29, 2010
unicode_encodings.rst Fix issue #6: fix typo "higgest" Nov 17, 2013
win.py add win.py Jun 15, 2011

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()