Filename encoding on XP

2007-01-02 Thread kent sin
What encoding does the NTFS store the filename?

I got some downloaded files, some with Chinese filename, I can not
backup them to CD because the name is not accepted.

I use walk, then print the filename, there are some ? in it, but some
Chinese characters were display with no problem. I suspect the
encoding of the filename is not unicode. How do I find out more about
this?

-- 
Sin Hang Kin.
-- 
http://mail.python.org/mailman/listinfo/python-list


Smooth upgrade to New Version

2005-04-21 Thread kent sin
Python is now enter 2.4 era. It is greate, and I want to upgrade too.

However, everytime upgrading to a new version is a great pain. For
every version, we start to re-install what have been in our past
python.

Re-install all packages sometimes require searching for a new version
of binary which in windows were not easy, the same also true for osx.

Are there any plan for smoother version upgrade for upcoming 2.5 or
later? May be with the freely available ms compiler, this problem can
be solved?


-- 
Sin Hang Kin.
--
http://mail.python.org/mailman/listinfo/python-list


Write Unicode str as utf-8

2005-02-14 Thread kent sin
Python support unicode, but some library don't. Write
is one of them. 

When writing a csv file, The rows contains numbers and
unicode str. It is a little pain to first convert all
unicode str to utf-8 before writing the row.

Are there anyway I can patch python such that It will
convert the unicode string to utf-8 before the write?
Where should I start?


Best rgs,

Kent Sin
-- 
http://mail.python.org/mailman/listinfo/python-list


iTools

2005-01-16 Thread kent sin
Where can I download python-itools?

I found it in the python packages index but the site
is not contactable. 

Thank you.

-- 
http://mail.python.org/mailman/listinfo/python-list