In <[EMAIL PROTECTED]>,
Ben Finney <[EMAIL PROTECTED]> wrote:
> Tony Houghton <[EMAIL PROTECTED]> writes:
>
>> In Linux it's possible for filesystems to have a different encoding
>> from the system's setting. Given a filename, is there a (preferably)
>> portable way to determine its encoding?
>
>
Tony Houghton <[EMAIL PROTECTED]> writes:
> In Linux it's possible for filesystems to have a different encoding
> from the system's setting. Given a filename, is there a (preferably)
> portable way to determine its encoding?
If there were, PEP 263 would not be necessary.
http://www.python.or
In <[EMAIL PROTECTED]>, Tony Houghton wrote:
> In Linux it's possible for filesystems to have a different encoding from
> the system's setting. Given a filename, is there a (preferably) portable
> way to determine its encoding?
No.
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.o
In Linux it's possible for filesystems to have a different encoding from
the system's setting. Given a filename, is there a (preferably) portable
way to determine its encoding?
--
TH * http://www.realh.co.uk
--
http://mail.python.org/mailman/listinfo/python-list
[Thomas Thomas]
| how can I find the encoding to use to open a file.. I have a
| file with "£" chararcter..
| is there some utility function in python that I can use
|
| how can I know which encoding to use
[This is going to be a longer answer than you really
want. The short answer is "probabl
Hi All,
how can I find the encoding to use to open a file..
I have a file with "£" chararcter..
is there some utility function in python that I can
use
how can I know which encoding to use
f=codecs.open(filename, "r",
encoding='iso-8859-1')
or
f=codecs.open(filename, "r",
encoding='lat