This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | a.badger |
|---|---|
| Recipients | a.badger, bkabrda, deleted250130, larry, lemburg, loewis, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, terry.reedy, vstinner |
| Date | 2013年12月10日.23:30:42 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1386718243.11.0.395842172955.issue19846@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Yes, it returns a list but unless I'm missing something in the general case it's the caller's responsibility to loop through the charsets to test for failure and try again. This is not done automatically. In the specific case we're talking about, first get_filename_charset() decides to only return the first entry in the list of charsets: list.https://git.gnome.org/browse/glib/tree/glib/gconvert.c#n1118 and then g_filename_to_utf8() disregards the charsets altogether because it sees that the filename is supposed to be utf-8 https://git.gnome.org/browse/glib/tree/glib/gconvert.c#n1160 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年12月10日 23:30:43 | a.badger | set | recipients: + a.badger, lemburg, loewis, terry.reedy, ncoghlan, pitrou, vstinner, larry, r.david.murray, deleted250130, serhiy.storchaka, bkabrda |
| 2013年12月10日 23:30:43 | a.badger | set | messageid: <1386718243.11.0.395842172955.issue19846@psf.upfronthosting.co.za> |
| 2013年12月10日 23:30:43 | a.badger | link | issue19846 messages |
| 2013年12月10日 23:30:42 | a.badger | create | |