$ make install
to install BE. By default BE will install into your home directory,
-but you can tweak the ``PREFIX`` variable in ``Makefile`` to install
-to another location.
+but you can tweak the ``INSTALL_OPTIONS`` variable in ``Makefile`` to
+install to another location.
By default, ``make`` builds both a man page for ``be`` and the HTML
Sphinx documentation (:doc:`doc`). You can customize the
def get_output_encoding():
return sys.__stdout__.encoding or get_encoding()
-def get_filesystem_encoding():
+def get_text_file_encoding():
"""Return the encoding that should be used for file contents
-
- Note that `sys.getfilesystemencoding` returns the prefered
- encoding for file *names*, and we're assuming that this is also
- the prefered encoding for their contents.
"""
- return sys.getfilesystemencoding() or get_encoding()
+ return 'utf-8'
def get_argv_encoding():
return get_encoding()