Type: Python module or package
File:lino:src/lino/customize.py
site.addsitedir(r"xxx\svnwork\lino\trunk\src") from lino.customize import setlocalencoding setlocalencoding()
- setlocalencoding() (method) — setlocalencoding() sets the system default encoding to the locale's encoding.
Refering articles:
- moved sitecustomize.py (code changes 11.03.06) — Moved lino/console/sitecustomize.py to lino/customize.py more
- still encoding (code changes 21.02.06) — I noticed that Lino's sitecustomize leads to problems, and that there are differences between print x and sys.stdout.write(x). more
- About encodings (code changes 20.02.06) — How to support non-ascii characters on a console? The TIM-Tools on my customers' Windows machines should talk German or French, thus they need either latin1 or cp850 or cp437 encoding. I'd like this to work also when accessing a remote Linux machine from a Window machine . more