Message103099
When reading a tar archive, tarfile decodes fields using "replace" error handler by default. The result is that we loose informations if there is an undecodable character.
Since the PEP 383, undecodable filenames are stored using surrogates in Python3. I think that it's a good idea to use surrogates for tar, because it's a common problem to have undecodable data in a tar archive (see the unicode section of the tarfile documentation). |
|
Date |
User |
Action |
Args |
2010-04-13 23:53:16 | vstinner | set | recipients:
+ vstinner, loewis |
2010-04-13 23:53:15 | vstinner | set | messageid: <1271202795.91.0.928981298967.issue8390@psf.upfronthosting.co.za> |
2010-04-13 23:53:14 | vstinner | link | issue8390 messages |
2010-04-13 23:53:13 | vstinner | create | |
|