Unicode support in python
fredrik at pythonware.com
Fri Oct 20 15:10:54 CEST 2006
> I have added the following line in the script
> # -*- coding: utf-8 -*-
> I have also modified the site.py
that's bad, because this means that your code won't work on standard
> Now when I try to validate the data in the text file
> say abc.txt (saved as with utf-8 encoding) containing either english or
> russian text,
what does the word "validate" mean here?
> some junk character (box like) is added as the first character
> what must be the reason for this?
what did you do to determine that there's a box-like character at the start
of the file?
can you post some code?
More information about the Python-list