Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46667 > unrolled thread
| Started by | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| First post | 2013-06-01 08:44 -0700 |
| Last post | 2013-06-02 11:22 +0100 |
| Articles | 20 on this page of 154 — 24 participants |
Back to article view | Back to comp.lang.python
Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-01 08:44 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-01 23:02 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-02 07:01 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-02 08:22 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) David <bouncingcats@gmail.com> - 2013-06-02 18:11 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 07:35 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-02 14:36 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-02 15:51 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 08:04 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 01:15 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 08:23 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-02 15:47 -0400
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-02 16:24 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 08:36 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-02 16:55 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 09:21 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 02:31 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 09:44 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 03:05 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 10:12 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Torrie <torriem@gmail.com> - 2013-06-02 11:21 -0600
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 03:21 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 11:34 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Torrie <torriem@gmail.com> - 2013-06-02 23:40 -0600
Re: Changing filenames from Greeklish => Greek (subprocess complain) Tim Delaney <timothy.c.delaney@gmail.com> - 2013-06-03 09:10 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Tim Delaney <timothy.c.delaney@gmail.com> - 2013-06-03 09:13 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 15:02 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 22:05 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 22:22 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 22:31 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Torrie <torriem@gmail.com> - 2013-06-02 23:45 -0600
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 23:11 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-03 10:00 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 19:05 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-03 02:32 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-03 23:04 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-03 06:46 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 17:36 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-03 02:12 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) rusi <rustompmody@gmail.com> - 2013-06-03 05:54 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) nagia.retsina@gmail.com - 2013-06-03 06:48 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-03 22:37 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) rusi <rustompmody@gmail.com> - 2013-06-03 21:35 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-04 05:48 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-03 23:43 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-03 22:46 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) nagia.retsina@gmail.com - 2013-06-03 23:28 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-04 17:35 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 01:05 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Nobody <nobody@nowhere.com> - 2013-06-04 08:39 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 00:58 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Nobody <nobody@nowhere.com> - 2013-06-04 14:01 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 06:37 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 06:49 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 06:57 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-04 15:09 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 07:18 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 07:24 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Torrie <torriem@gmail.com> - 2013-06-04 09:07 -0600
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 09:57 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 10:23 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-04 19:53 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 11:27 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-06-04 20:45 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 11:51 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 12:32 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 13:03 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-05 07:47 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 20:44 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 21:05 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 21:15 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Torrie <torriem@gmail.com> - 2013-06-04 23:40 -0600
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 23:05 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-05 06:03 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 23:40 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 04:08 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-05 17:44 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:34 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Heiko Wundram <modelnine@modelnine.org> - 2013-06-06 10:50 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 03:35 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Heiko Wundram <modelnine@modelnine.org> - 2013-06-06 12:44 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 04:00 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Heiko Wundram <modelnine@modelnine.org> - 2013-06-06 13:09 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 04:24 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Heiko Wundram <modelnine@modelnine.org> - 2013-06-06 13:31 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 04:31 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Fábio Santos <fabiosantosart@gmail.com> - 2013-06-04 21:26 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) alex23 <wuwei23@gmail.com> - 2013-06-04 18:28 -0700
RE: Changing filenames from Greeklish => Greek (subprocess complain) Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-05 06:04 +0300
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 20:28 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-05 13:32 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) alex23 <wuwei23@gmail.com> - 2013-06-04 21:47 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 22:06 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-05 05:56 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 10:43 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-05 19:32 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 11:43 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 20:43 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 21:42 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-06 12:35 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 05:04 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-06 13:50 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 11:13 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-06 21:03 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 12:17 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-06 22:25 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 13:39 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 13:56 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 13:59 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-06 23:15 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-07 01:29 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-06 23:07 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-06 22:57 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-07 01:25 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) nagia.retsina@gmail.com - 2013-06-06 23:35 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-07 16:46 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-07 00:08 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-07 17:24 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Roel Schroeven <roel@roelschroeven.net> - 2013-06-08 11:19 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-07 09:09 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-07 00:32 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Michael Weylandt <michael.weylandt@gmail.com> - 2013-06-07 08:42 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-07 11:10 +0300
Re: Changing filenames from Greeklish => Greek (subprocess complain) "R. Michael Weylandt" <michael.weylandt@gmail.com> - 2013-06-07 09:52 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-08 07:57 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) rusi <rustompmody@gmail.com> - 2013-06-06 20:13 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) MRAB <python@mrabarnett.plus.com> - 2013-06-06 20:42 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 13:05 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 13:21 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Cameron Simpson <cs@zip.com.au> - 2013-06-07 09:08 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Cameron Simpson <cs@zip.com.au> - 2013-06-06 20:24 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 04:16 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) jmfauth <wxjmfauth@gmail.com> - 2013-06-05 22:54 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-06 16:11 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-05 23:38 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-06-06 09:53 +0100
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-04 20:18 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 11:33 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Lele Gaifax <lele@metapensiero.it> - 2013-06-04 21:31 +0200
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 20:40 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-04 08:47 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-04 02:00 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-06 12:44 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-06 11:46 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Cameron Simpson <cs@zip.com.au> - 2013-06-07 11:01 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-07 02:13 +0000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-07 09:56 +0300
Re: Changing filenames from Greeklish => Greek (subprocess complain) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-05 06:06 +0000
RE: Changing filenames from Greeklish => Greek (subprocess complain) Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-06-02 22:44 +0300
Re: Changing filenames from Greeklish => Greek (subprocess complain) nagia.retsina@gmail.com - 2013-06-02 12:51 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Chris Angelico <rosuav@gmail.com> - 2013-06-03 06:46 +1000
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 21:59 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Νικόλαος Κούρας <nikos.gr33k@gmail.com> - 2013-06-02 08:02 -0700
Re: Changing filenames from Greeklish => Greek (subprocess complain) Nobody <nobody@nowhere.com> - 2013-06-02 11:22 +0100
Page 3 of 8 — ← Prev page 1 2 [3] 4 5 6 7 8 Next page →
| From | nagia.retsina@gmail.com |
|---|---|
| Date | 2013-06-03 06:48 -0700 |
| Message-ID | <40d41d2e-0dc5-4160-9c52-e65781ed1170@googlegroups.com> |
| In reply to | #46787 |
Τη Δευτέρα, 3 Ιουνίου 2013 3:54:30 μ.μ. UTC+3, ο χρήστης rusi έγραψε:
> Is that how you renamed your file?
> In any case thats what I see!
> [Dont whether to say: Its greek to me or its not greek to me!!]
Now! that weird again.
I rename sit using proper Greek letters but as it appears to you it also appears to me via Chrome.
Also this is how it looks like via linux cmd listing:
nikos@superhost.gr [~/www/cgi-bin]# ls -l ../data/apps/
total 368548
drwxr-xr-x 2 nikos nikos 4096 Jun 3 12:07 ./
drwxr-xr-x 6 nikos nikos 4096 May 26 21:13 ../
-rwxr-xr-x 1 nikos nikos 13157283 Mar 17 12:57 100\ Mythoi\ tou\ Aiswpou.pdf*
-rwxr-xr-x 1 nikos nikos 29524686 Mar 11 18:17 Anekdotologio.exe*
-rw-r--r-- 1 nikos nikos 42413964 Jun 2 20:29 Battleship.exe
-rwxr-xr-x 1 nikos nikos 66896732 Mar 17 13:13 Kosmas\ o\ Aitwlos\ -\ Profiteies .pdf*
-rw-r--r-- 1 nikos nikos 51819750 Jun 2 20:04 Luxor\ Evolved.exe
-rw-r--r-- 1 nikos nikos 60571648 Jun 2 14:59 Monopoly.exe
-rwxr-xr-x 1 nikos nikos 1788164 Mar 14 11:31 Online\ Movie\ Player.zip*
-rw-r--r-- 1 nikos nikos 5277287 Jun 1 18:35 O\ Nomos\ tou\ Merfy\ v1-2-3.zip
-rwxr-xr-x 1 nikos nikos 16383001 Jun 22 2010 Orthodoxo\ Imerologio.exe*
-rw-r--r-- 1 nikos nikos 6084806 Jun 1 18:22 Pac-Man.exe
-rw-r--r-- 1 nikos nikos 25476584 Jun 2 19:50 Scrabble\ 2013.exe
-rw-r--r-- 1 nikos nikos 236032 Jun 2 19:31 Skepsou\ enan\ arithmo!.exe
-rwxr-xr-x 1 nikos nikos 49141166 Mar 17 12:48 To\ 1o\ mou\ vivlio\ gia\ to\ ska ki.pdf*
-rwxr-xr-x 1 nikos nikos 3298310 Mar 17 12:45 Vivlos\ gia\ Atheofovous.pdf*
-rw-r--r-- 1 nikos nikos 1764864 May 29 21:50 V-Radio\ v2.4.msi
-rw-r--r-- 1 nikos nikos 3511233 Jun 3 12:07 ΞΟ
ΟΞ�\ Ο
ΞΏΟ.mp3
nikos@superhost.gr [~/www/cgi-bin]#
Why doesnt the name of the ?
file doesnt appear in proper Greek letter neither from cmd nor for Chrome too?
It's no wonder files.py cant decode it in 'utf-8'
How can i make the filanems appear properly or at least decode from byte strea,m to utf-8 properly so they can be opened via the python script without error?
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-06-03 22:37 +0000 |
| Message-ID | <51ad1ab1$0$11118$c3e8da3@news.astraweb.com> |
| In reply to | #46787 |
(Note: this post is sent using UTF-8. If anyone reading this sees
mojibake, please make sure your email or news client is set to use UTF-8.)
On Mon, 03 Jun 2013 05:54:30 -0700, rusi wrote:
> On Jun 3, 2:12 pm, Νικόλαος Κούρας <nikos.gr...@gmail.com> wrote:
>> You are right Steven, i just renames the file 'Euxi tou Ihsou.mp3' =>
>> 'Eõ÷Þ ôïõ Éçóïý.mp3' and…
>
> Is that how you renamed your file?
> In any case thats what I see!!
rusi, whatever program you are using to read these posts is buggy.
Nicholas (please excuse me ASCII-fying his name, but given that we are
discussing encoding problems, it is probably for the best) sent his post
with a header line:
charset=ISO-8859-7
If your client honoured that charset line, you would see:
Eυχή του Ιησού.mp3
It looks like your client is ignoring the charset header, and
interpreting the bytes as Latin-1 when they are actually ISO-8859-7.
py> s = 'Eυχή του Ιησού.mp3'
py> print(s.encode('ISO-8859-7').decode('latin-1'))
Eõ÷Þ ôïõ Éçóïý.mp3
which matches what you see. If you can manually tell your client to use
ISO-8859-7, you should see it correctly.
--
Steven
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-06-03 21:35 -0700 |
| Message-ID | <780fb4b4-26c1-408a-a40e-82d3f6d8564f@pd6g2000pbc.googlegroups.com> |
| In reply to | #46814 |
On Jun 4, 3:37 am, Steven D'Aprano <steve +comp.lang.pyt...@pearwood.info> wrote: > (Note: this post is sent using UTF-8. If anyone reading this sees > mojibake, please make sure your email or news client is set to use UTF-8.) > > On Mon, 03 Jun 2013 05:54:30 -0700, rusi wrote: > > On Jun 3, 2:12 pm, Νικόλαος Κούρας <nikos.gr...@gmail.com> wrote: > >> You are right Steven, i just renames the file 'Euxi tou Ihsou.mp3' => > >> 'Eõ÷Þ ôïõ Éçóïý.mp3' and… > > > Is that how you renamed your file? > > In any case thats what I see!! > > rusi, whatever program you are using to read these posts is buggy. When you go to the python mailing list archive and look at Nikos mail http://mail.python.org/pipermail/python-list/2013-June/648301.html I see <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> [Not claiming to understand all this unicode stuff...]
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-06-04 05:48 +0000 |
| Message-ID | <51ad7fc7$0$11118$c3e8da3@news.astraweb.com> |
| In reply to | #46834 |
On Mon, 03 Jun 2013 21:35:13 -0700, rusi wrote: > On Jun 4, 3:37 am, Steven D'Aprano <steve > +comp.lang.pyt...@pearwood.info> wrote: >> (Note: this post is sent using UTF-8. If anyone reading this sees >> mojibake, please make sure your email or news client is set to use >> UTF-8.) >> >> On Mon, 03 Jun 2013 05:54:30 -0700, rusi wrote: >> > On Jun 3, 2:12 pm, Νικόλαος Κούρας <nikos.gr...@gmail.com> wrote: >> >> You are right Steven, i just renames the file 'Euxi tou Ihsou.mp3' >> >> => 'Eõ÷Þ ôïõ Éçóïý.mp3' and… >> >> > Is that how you renamed your file? >> > In any case thats what I see!! >> >> rusi, whatever program you are using to read these posts is buggy. > > When you go to the python mailing list archive and look at Nikos mail > http://mail.python.org/pipermail/python-list/2013-June/648301.html I see > <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> You're looking at the encoding of the HTML page which displays only the body and a few selected headers, copied from Nikos' post. It has no connection to the encoding of the post itself. If you're using Thunderbird, or some other mail/news client, there is usually an option to View Raw Post or View Entire Message or something similar. Use that on the original post, not the web archive. > [Not claiming to understand all this unicode stuff...] :-) Start here: http://www.joelonsoftware.com/articles/Unicode.html http://nedbatchelder.com/text/unipain.html -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-03 23:43 -0700 |
| Message-ID | <b1e2a310-37a4-4771-bd07-af99e5a02849@googlegroups.com> |
| In reply to | #46814 |
Τη Τρίτη, 4 Ιουνίου 2013 1:37:37 π.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε:
>It looks like your client is ignoring the charset header, and
>interpreting the bytes as Latin-1 when they are actually ISO-8859-7.
>py> s = 'Eυχή του Ιησού.mp3'
>py> print(s.encode('ISO-8859-7').decode('latin-1'))
>Eõ÷Þ ôïõ Éçóïý.mp3
>which matches what you see. If you can manually tell your client to use
>ISO-8859-7, you should see it correctly.
I think is this is the case too steven, but it suprises me that Chrome ignores the charset header.
Actually when i toild explicitly Chrome to display everythign as utf-8 it presented the filanem properly.
py> print(s.encode('ISO-8859-7').decode('latin-1'))
Why you are encoding the 's' string to greek-iso?
Isn't it by itself in greek-iso since it uses greek letters?
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-06-03 22:46 +0000 |
| Message-ID | <51ad1cdd$0$11118$c3e8da3@news.astraweb.com> |
| In reply to | #46781 |
On Mon, 03 Jun 2013 02:12:31 -0700, Νικόλαος Κούρας wrote: > Τη Δευτέρα, 3 Ιουνίου 2013 9:46:46 π.μ. UTC+3, ο χρήστης Steven D'Aprano > έγραψε: > >> If I am right, the solution is to fix the file names to ensure that >> they are all valid UTF-8 names. If you view the directory containing >> these files in a file browser that supports UTF-8, do you see any file >> names containing Mojibake? > >> Fix those file names, and hopefully the problem will go away. > > You are right Steven, i just renames the file 'Euxi tou Ihsou.mp3' => > 'Eυχή του Ιησού.mp3' and here is how it appears the filename directory > listing via Chrome. > > http://superhost.gr/data/apps/ > > I doesn't display the file with proper Greek characters but with > *Mojibake* instead. Not so -- it actually shows correctly, provided you use the right encoding. Tell your browser to view the page as UTF-8, and the file name is displayed correctly. By default, my browser Iceweasel views the page as Latin-1, which displays like this: Ευχή του ΙησοÏ.mp3 so the first thing you need to fix is to find some way to tell Apache to include a UTF-8 encoding line in its automatically generated pages. Then at least it will display correctly for visitors. I now tentatively believe that the file names are correct, using the UTF-8 encoding. But you can help confirm this: * What operating system are you using? If Linux, what distro and version? * What is the output of the locale command? -- Steven
[toc] | [prev] | [next] | [standalone]
| From | nagia.retsina@gmail.com |
|---|---|
| Date | 2013-06-03 23:28 -0700 |
| Message-ID | <ec6a68fc-80b5-4592-9c49-e8ada8678455@googlegroups.com> |
| In reply to | #46817 |
Τη Τρίτη, 4 Ιουνίου 2013 1:46:53 π.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε:
> Not so -- it actually shows correctly, provided you use the right
> encoding. Tell your browser to view the page as UTF-8, and the file name
> is displayed correctly.
I can't believe Chrome whcih by default uses utf8 chosed iso-8859-1 to presnt the filenames.
You were right Steven, when i explicitly told him to presnt page sin utf8 it then started to show tha filesname correctly.
> I now tentatively believe that the file names are correct, using the UTF-8
> encoding. But you can help confirm this:
> * What operating system are you using? If Linux, what distro and version?
> * What is the output of the locale command?
First of all thank you very much for being so cooperative, i appreciate it.
Here is some of my system insight you wanted to see.
nikos@superhost.gr [~]# uname -a
Linux nikos.superhost.gr 2.6.32-042stab075.2 #1 SMP Tue May 14 20:38:14 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
nikos@superhost.gr [~]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
nikos@superhost.gr [~]#
I'am using CentOS v6.4 becaue it is the only linux OS that supports cPanel which my clients need to administer their websites.
Hese is also how the terminal presents my filenames.
nikos@superhost.gr [~]# ls -l www/data/apps/
total 368548
drwxr-xr-x 2 nikos nikos 4096 Jun 3 12:07 ./
drwxr-xr-x 6 nikos nikos 4096 May 26 21:13 ../
-rwxr-xr-x 1 nikos nikos 13157283 Mar 17 12:57 100\ Mythoi\ tou\ Aiswpou.pdf*
-rwxr-xr-x 1 nikos nikos 29524686 Mar 11 18:17 Anekdotologio.exe*
-rw-r--r-- 1 nikos nikos 42413964 Jun 2 20:29 Battleship.exe
-rwxr-xr-x 1 nikos nikos 66896732 Mar 17 13:13 Kosmas\ o\ Aitwlos\ -\ Profiteies .pdf*
-rw-r--r-- 1 nikos nikos 51819750 Jun 2 20:04 Luxor\ Evolved.exe
-rw-r--r-- 1 nikos nikos 60571648 Jun 2 14:59 Monopoly.exe
-rwxr-xr-x 1 nikos nikos 1788164 Mar 14 11:31 Online\ Movie\ Player.zip*
-rw-r--r-- 1 nikos nikos 5277287 Jun 1 18:35 O\ Nomos\ tou\ Merfy\ v1-2-3.zip
-rwxr-xr-x 1 nikos nikos 16383001 Jun 22 2010 Orthodoxo\ Imerologio.exe*
-rw-r--r-- 1 nikos nikos 6084806 Jun 1 18:22 Pac-Man.exe
-rw-r--r-- 1 nikos nikos 25476584 Jun 2 19:50 Scrabble\ 2013.exe
-rw-r--r-- 1 nikos nikos 236032 Jun 2 19:31 Skepsou\ enan\ arithmo!.exe
-rwxr-xr-x 1 nikos nikos 49141166 Mar 17 12:48 To\ 1o\ mou\ vivlio\ gia\ to\ ska ki.pdf*
-rwxr-xr-x 1 nikos nikos 3298310 Mar 17 12:45 Vivlos\ gia\ Atheofovous.pdf*
-rw-r--r-- 1 nikos nikos 1764864 May 29 21:50 V-Radio\ v2.4.msi
-rw-r--r-- 1 nikos nikos 3511233 Jun 3 12:07 ΞΟ
ΟΞ�\ Ο
ΞΏΟ.mp3
nikos@superhost.gr [~]#
Its wird, because as locale showed from above terminal is set to 'utf-8' but the greek filename cannot be viewed properly.
I must say though, that i have renamed it from my Windows 8 system and then uploaded via FileZilla to my remote webhost server. Maybe windows 8 is causing this?
I'll try renaming it via terminal too.
f you want to see soemhtign else please ask me to show you Steven.
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-06-04 17:35 +1000 |
| Message-ID | <mailman.2625.1370331334.3114.python-list@python.org> |
| In reply to | #46838 |
On Tue, Jun 4, 2013 at 4:28 PM, <nagia.retsina@gmail.com> wrote: > Τη Τρίτη, 4 Ιουνίου 2013 1:46:53 π.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: > >> Not so -- it actually shows correctly, provided you use the right >> encoding. Tell your browser to view the page as UTF-8, and the file name >> is displayed correctly. > > I can't believe Chrome whcih by default uses utf8 chosed iso-8859-1 to presnt the filenames. What do you mean, "by default uses UTF-8"? Chrome uses whatever it's told. In this case, you have no encoding specified in the page, and your HTTP headers include: Content-Type:text/html;charset=ISO-8859-1 I wonder what effect that'll have... I wonder. Quit blaming Chrome for what's not its fault. (There's enough that is, but that's true of every browser.) ChrisA
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 01:05 -0700 |
| Message-ID | <242a4dd5-c23f-46c4-8312-737cf7ad7c11@googlegroups.com> |
| In reply to | #46845 |
Τη Τρίτη, 4 Ιουνίου 2013 10:35:31 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
> > I can't believe Chrome which by default uses 'utf-8' choosed 'iso-8859-1' to present the filenames.
> What do you mean, "by default uses UTF-8"? Chrome uses whatever it's
> told. In this case, you have no encoding specified in the page, and
> your HTTP headers include:
> Content-Type:text/html;charset=ISO-8859-1
From where do you see this Chris?
I have an encoding specified in every cgi script i use by stating this command:
print( '''Content-type: text/html; charset=utf-8\n''' )
( That is a browser directive to display python script's output using 'utf-8' charset, that is why i wonder where you Nobody see greek-iso)
and also i'm using this:
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
(not sure what exactly it does though, but if i remove it from my cgi scipts no python3 script runs, they are all die prematurely)
[toc] | [prev] | [next] | [standalone]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Date | 2013-06-04 08:39 +0100 |
| Message-ID | <pan.2013.06.04.07.39.07.960000@nowhere.com> |
| In reply to | #46838 |
On Mon, 03 Jun 2013 23:28:21 -0700, nagia.retsina wrote: > I can't believe Chrome whcih by default uses utf8 chosed iso-8859-1 to > presnt the filenames. Chrome didn't choose ISO-8859-1, the server did; the HTTP response says: Content-Type: text/html;charset=ISO-8859-1
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 00:58 -0700 |
| Message-ID | <ed5167fb-49aa-4e7d-8070-f117cf77a89b@googlegroups.com> |
| In reply to | #46848 |
Τη Τρίτη, 4 Ιουνίου 2013 10:39:08 π.μ. UTC+3, ο χρήστης Nobody έγραψε: > Chrome didn't choose ISO-8859-1, the server did; the HTTP response says: > Content-Type: text/html;charset=ISO-8859-1 From where do you see this: i receivf this when trying from terminal: nikos@superhost.gr [~/www/data/apps]# wget -S -O - http://www.superhost.gr --2013-06-04 10:58:05-- http://www.superhost.gr/ Resolving www.superhost.gr... 82.211.30.133 Connecting to www.superhost.gr|82.211.30.133|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Server: ApacheBooster/1.6 Date: Tue, 04 Jun 2013 07:58:05 GMT Content-Type: text/html Connection: close Vary: Accept-Encoding <!--: spam X-Cacheable: YES X-Varnish: 2000176616 2000176615 Via: 1.1 varnish age: 0 X-Cache: HIT X-Cache-Hits: 1 Length: unspecified [text/html] Saving to: βSTDOUTβ
[toc] | [prev] | [next] | [standalone]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Date | 2013-06-04 14:01 +0100 |
| Message-ID | <pan.2013.06.04.13.01.48.43000@nowhere.com> |
| In reply to | #46853 |
On Tue, 04 Jun 2013 00:58:42 -0700, Νικόλαος Κούρας wrote: > Τη Τρίτη, 4 Ιουνίου 2013 10:39:08 π.μ. UTC+3, ο > χρήστης Nobody έγραψε: > >> Chrome didn't choose ISO-8859-1, the server did; the HTTP response says: >> Content-Type: text/html;charset=ISO-8859-1 > > From where do you see this $ wget -S -O - http://superhost.gr/data/apps/ --2013-06-04 14:00:10-- http://superhost.gr/data/apps/ Resolving superhost.gr... 82.211.30.133 Connecting to superhost.gr|82.211.30.133|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Server: ApacheBooster/1.6 Date: Tue, 04 Jun 2013 13:00:19 GMT Content-Type: text/html;charset=ISO-8859-1 Transfer-Encoding: chunked Connection: keep-alive Vary: Accept-Encoding X-Cacheable: YES X-Varnish: 2000177813 Via: 1.1 varnish age: 0 X-Cache: MISS
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 06:37 -0700 |
| Message-ID | <ea843d15-0680-484c-b83b-a92aa2f7d6d2@googlegroups.com> |
| In reply to | #46893 |
Τη Τρίτη, 4 Ιουνίου 2013 4:01:48 μ.μ. UTC+3, ο χρήστης Nobody έγραψε:
> On Tue, 04 Jun 2013 00:58:42 -0700, Νικόλαος Κούρας wrote:
>
>
>
> > Τη Τρίτη, 4 Ιουνίου 2013 10:39:08 π.μ. UTC+3, ο
>
> > χρήστης Nobody έγραψε:
>
> >
>
> >> Chrome didn't choose ISO-8859-1, the server did; the HTTP response says:
>
> >> Content-Type: text/html;charset=ISO-8859-1
>
> >
>
> > From where do you see this
>
>
>
> $ wget -S -O - http://superhost.gr/data/apps/
>
> --2013-06-04 14:00:10-- http://superhost.gr/data/apps/
>
> Resolving superhost.gr... 82.211.30.133
>
> Connecting to superhost.gr|82.211.30.133|:80... connected.
>
> HTTP request sent, awaiting response...
>
> HTTP/1.1 200 OK
>
> Server: ApacheBooster/1.6
>
> Date: Tue, 04 Jun 2013 13:00:19 GMT
>
> Content-Type: text/html;charset=ISO-8859-1
>
> Transfer-Encoding: chunked
>
> Connection: keep-alive
>
> Vary: Accept-Encoding
>
> X-Cacheable: YES
>
> X-Varnish: 2000177813
>
> Via: 1.1 varnish
>
> age: 0
>
> X-Cache: MISS
Ah, you were talking for the '/www/data/apps subfolder', yes indeed, i though you were talking about superhost.gr.
That how Apache chooses to show them, but this is not so much important because visitors wont enter directly that page, but they will have a chnace to get those files from within http://superhost.gr/cgi-bin/files.py
which in turn gives me this:
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] Error in sys.excepthook:
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] ValueError: underlying buffer has been detached
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59]
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] Original exception was:
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] Traceback (most recent call last):
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] File "files.py", line 67, in <module>
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] cur.execute('''SELECT url FROM files WHERE url = %s''', (fullpath,) )
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] File "/usr/local/lib/python3.3/site-packages/PyMySQL3-0.5-py3.3.egg/pymysql/cursors.py", line 108, in execute
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] query = query.encode(charset)
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] UnicodeEncodeError: 'utf-8' codec can't encode character '\\udcd3' in position 61: surrogates not allowed
[Tue Jun 04 16:36:09 2013] [error] [client 46.12.95.59] Premature end of script headers: files.py
:(
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 06:49 -0700 |
| Message-ID | <a79d0b13-063e-4675-9ad4-9acadba488c5@googlegroups.com> |
| In reply to | #46899 |
>Steven said:
>It looks like your client is ignoring the charset header, and
>interpreting the bytes as Latin-1 when they are actually ISO-8859-7.
>py> s = 'Eυχή του Ιησού.mp3'
>py> print(s.encode('ISO-8859-7').decode('latin-1'))
>Eõ÷Þ ôïõ Éçóïý.mp3
>which matches what you see. If you can manually tell your client to use
>ISO-8859-7, you should see it correctly.
I think this is the case too Steven, but it suprises me to see that Chrome ignores the charset header.
Actually when i told explicitly Chrome to display everythign as utf-8 it presented the filaname properly.
py> print(s.encode('ISO-8859-7').decode('latin-1'))
Why you are encoding the 's' string to greek-iso?
Isn't it set by itself in greek-iso since it uses greek-iso lettering?
I think you are very close to solution but i cannot clearly see it yet.
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 06:57 -0700 |
| Message-ID | <306a22ea-fbf7-4097-af31-121a999957d6@googlegroups.com> |
| In reply to | #46903 |
I' just tried to implment your idea by correcting file names as:
# Compute a set of current fullpaths
fullpaths = set()
path = "/home/nikos/www/data/apps/"
for root, dirs, files in os.walk(path):
for fullpath in files:
fullpaths.add( os.path.join(root, fullpath) )
# Load'em
for fullpath in fullpaths:
try:
# Check the presence of a file against the database and insert if it doesn't exist
cur.execute('''SELECT url FROM files WHERE url = %s''', ( fullpath.encode('ISO-8859-7').decode('latin-1'), )
data = cur.fetchone() #URL is unique, so should only be one
This gave me this error:
root@nikos [~]# [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] File "files.py", line 68
[Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] data = cur.fetchone() #URL is unique, so should only be one
[Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] ^
[Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] SyntaxError: invalid syntax
[Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] Premature end of script headers: files.py
[Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml
It seem that this approach overcame the error, won't you agree?
But i see no syntax error in the exact follow up line.
data = cur.fetchone() #URL is unique, so should only be one
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2013-06-04 15:09 +0100 |
| Message-ID | <mailman.2649.1370354937.3114.python-list@python.org> |
| In reply to | #46904 |
On 04/06/2013 14:57, Νικόλαος Κούρας wrote:
> I' just tried to implment your idea by correcting file names as:
>
> # Compute a set of current fullpaths
> fullpaths = set()
> path = "/home/nikos/www/data/apps/"
>
> for root, dirs, files in os.walk(path):
> for fullpath in files:
> fullpaths.add( os.path.join(root, fullpath) )
>
>
> # Load'em
> for fullpath in fullpaths:
> try:
> # Check the presence of a file against the database and insert if it doesn't exist
> cur.execute('''SELECT url FROM files WHERE url = %s''', ( fullpath.encode('ISO-8859-7').decode('latin-1'), )
> data = cur.fetchone() #URL is unique, so should only be one
>
> This gave me this error:
>
> root@nikos [~]# [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] File "files.py", line 68
> [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] data = cur.fetchone() #URL is unique, so should only be one
> [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] ^
> [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] SyntaxError: invalid syntax
> [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] Premature end of script headers: files.py
> [Tue Jun 04 16:55:51 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml
>
>
> It seem that this approach overcame the error, won't you agree?
> But i see no syntax error in the exact follow up line.
>
> data = cur.fetchone() #URL is unique, so should only be one
>
The syntax error is often in the preceeding line, typically because
you're missed a closing bracket.
--
"Steve is going for the pink ball - and for those of you who are
watching in black and white, the pink is next to the green." Snooker
commentator 'Whispering' Ted Lowe.
Mark Lawrence
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 07:18 -0700 |
| Message-ID | <9c482ba0-23ac-4e66-a0e1-a18be9fd82d8@googlegroups.com> |
| In reply to | #46906 |
No, brackets are all there. Just tried:
# Compute a set of current fullpaths
fullpaths = set()
path = "/home/nikos/www/data/apps/"
for root, dirs, files in os.walk(path):
for fullpath in files:
fullpaths.add( os.path.join(root, fullpath) )
print (fullpath )
print (fullpath.encode('iso-8859-7').decode('latin-1') )
sys.exit(0)
=========================
root@nikos [~]# [Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] Error in sys.excepthook:
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] ValueError: underlying buffer has been detached
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59]
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] Original exception was:
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] Traceback (most recent call last):
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] File "files.py", line 61, in <module>
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] print (fullpath )
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] File "/usr/local/lib/python3.3/codecs.py", line 355, in write
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] data, consumed = self.encode(object, self.errors)
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] UnicodeEncodeError: 'utf-8' codec can't encode character '\\udcc5' in position 0: surrogates not allowed
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] Premature end of script headers: files.py
[Tue Jun 04 17:16:18 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml
=================
What are these 'surrogate' things?
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 07:24 -0700 |
| Message-ID | <3ff06c67-7aab-49f3-b307-018091fb8efc@googlegroups.com> |
| In reply to | #46907 |
Know i tries the decode thing the moment the string join.
for root, dirs, files in os.walk(path):
for fullpath in files:
fullpaths.add( os.path.join(root, fullpath).decode('latin-1') )
But the /www/data/apps folder have inside them both english & greek filenames
It's clear to me now that this is a matter of encoding-decoding issue.
But encode to what and decode to what other?
How can the script encode and decode properly when it has mix of both english and weird-greek endoing filanems inside its corresponding folder?
[toc] | [prev] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2013-06-04 09:07 -0600 |
| Message-ID | <mailman.2654.1370358447.3114.python-list@python.org> |
| In reply to | #46906 |
On 06/04/2013 08:18 AM, Νικόλαος Κούρας wrote:
> No, brackets are all there. Just tried:
>
> # Compute a set of current fullpaths
> fullpaths = set()
> path = "/home/nikos/www/data/apps/"
>
> for root, dirs, files in os.walk(path):
> for fullpath in files:
> fullpaths.add( os.path.join(root, fullpath) )
> print (fullpath )
> print (fullpath.encode('iso-8859-7').decode('latin-1') )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is wrong. You are converting unicode to iso-8859-7 bytes, then
trying to convert those bytes back to unicode by pretending they are
latin-1 bytes. Even if this worked it will generate garbage.
> What are these 'surrogate' things?
It means that when you tried to decode greek bytes using latin-1, there
were some invalid unicode letters created (which is expected, since the
bytes are not latin-1, they are iso-8859-7!).
If you want the browser to use a particular encoding scheme (utf-8),
then you have to print out an HTTP header before you start printing your
other HTML data:
print("Content-Type: text/html;charset=UTF-8\r\n")
print("\r\n)
print("html data goes here)
[toc] | [prev] | [next] | [standalone]
| From | Νικόλαος Κούρας <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-06-04 09:57 -0700 |
| Message-ID | <06a19483-65df-4fcd-9430-b45a01c9dbab@googlegroups.com> |
| In reply to | #46914 |
Τη Τρίτη, 4 Ιουνίου 2013 6:07:19 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
> On 06/04/2013 08:18 AM, Νικόλαος Κούρας wrote:
>
> > No, brackets are all there. Just tried:
>
> >
>
> > # Compute a set of current fullpaths
>
> > fullpaths = set()
>
> > path = "/home/nikos/www/data/apps/"
>
> >
>
> > for root, dirs, files in os.walk(path):
>
> > for fullpath in files:
>
> > fullpaths.add( os.path.join(root, fullpath) )
>
> > print (fullpath )
>
> > print (fullpath.encode('iso-8859-7').decode('latin-1') )
>
>
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> This is wrong. You are converting unicode to iso-8859-7 bytes, then
>
> trying to convert those bytes back to unicode by pretending they are
>
> latin-1 bytes. Even if this worked it will generate garbage.
>
>
>
> > What are these 'surrogate' things?
>
>
>
> It means that when you tried to decode greek bytes using latin-1, there
>
> were some invalid unicode letters created (which is expected, since the
>
> bytes are not latin-1, they are iso-8859-7!).
>
>
>
> If you want the browser to use a particular encoding scheme (utf-8),
>
> then you have to print out an HTTP header before you start printing your
>
> other HTML data:
>
>
>
> print("Content-Type: text/html;charset=UTF-8\r\n")
>
> print("\r\n)
>
>
>
> print("html data goes here)
Thanks for the clear explanation about encode and decode, i never understood it more clear.
and yes of course i know that a header must be printed before any other actual print statement. Here is how i have it:
-------------------------------------------------
print( '''Content-type: text/html; charset=utf-8\n''' )
# Compute a set of current fullpaths
fullpaths = set()
path = "/home/nikos/www/data/apps/"
for root, dirs, files in os.walk(path):
for fullpath in files:
fullpaths.add( os.path.join(root, fullpath) )
Your unicode explanation is clear but we do have to deal with file's contents but rather filenames themselves.
root@nikos [~]# ls -l /home/nikos/www/data/apps/
total 368548
drwxr-xr-x 2 nikos nikos 4096 Jun 4 14:49 ./
drwxr-xr-x 6 nikos nikos 4096 May 26 21:13 ../
-rwxr-xr-x 1 nikos nikos 13157283 Mar 17 12:57 100\ Mythoi\ tou\ Aiswpou.pdf*
-rwxr-xr-x 1 nikos nikos 29524686 Mar 11 18:17 Anekdotologio.exe*
-rw-r--r-- 1 nikos nikos 42413964 Jun 2 20:29 Battleship.exe
-rw-r--r-- 1 nikos nikos 236032 Jun 4 14:10 \323\352\335\370\357\365\ \335\355\341\355\ \341\361\351\350\354\374.exe
-rwxr-xr-x 1 nikos nikos 66896732 Mar 17 13:13 Kosmas\ o\ Aitwlos\ -\ Profiteies.pdf*
-rw-r--r-- 1 nikos nikos 51819750 Jun 2 20:04 Luxor\ Evolved.exe
-rw-r--r-- 1 nikos nikos 60571648 Jun 2 14:59 Monopoly.exe
-rw-r--r-- 1 nikos nikos 3511233 Jun 4 14:11 \305\365\367\336\ \364\357\365\ \311\347\363\357\375.mp3
-rwxr-xr-x 1 nikos nikos 1788164 Mar 14 11:31 Online\ Movie\ Player.zip*
-rw-r--r-- 1 nikos nikos 5277287 Jun 1 18:35 O\ Nomos\ tou\ Merfy\ v1-2-3.zip
-rwxr-xr-x 1 nikos nikos 16383001 Jun 22 2010 Orthodoxo\ Imerologio.exe*
-rw-r--r-- 1 nikos nikos 6084806 Jun 1 18:22 Pac-Man.exe
-rw-r--r-- 1 nikos nikos 25476584 Jun 2 19:50 Scrabble.exe
-rwxr-xr-x 1 nikos nikos 49141166 Mar 17 12:48 To\ 1o\ mou\ vivlio\ gia\ to\ skaki.pdf*
-rwxr-xr-x 1 nikos nikos 3298310 Mar 17 12:45 Vivlos\ gia\ Atheofovous.pdf*
-rw-r--r-- 1 nikos nikos 1764864 May 29 21:50 V-Radio\ v2.4.msi
root@nikos [~]#
-------------------------------------------------
As you see the subdirectory 'apps' contain both ebglish and greek lettered filenames.
Are those both unicode? Are the filenames of the actuals files also encoded as byte streams,much like the contents inside them?
if they are unicode then i really see no trouble when trying to:
cur.execute('''SELECT url FROM files WHERE url = %s''', ( fullpath, )
but his is what i'm still getting:
-------------------------------------------------
root@nikos [~]# [Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] File "files.py", line 72
[Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] data = cur.fetchone() #URL is unique, so should only be one
[Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] ^
[Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] SyntaxError: invalid syntax
[Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] Premature end of script headers: files.py
[Tue Jun 04 19:50:16 2013] [error] [client 46.12.95.59] File does not exist: /home/nikos/public_html/500.shtml
-------------------------------------------------
What is the problem in your opinion Michael since verythign is encoded in utf-8?
why the cur.execute fail?
cur.execute('''SELECT url FROM files WHERE url = %s''', ( fullpath, )
data = cur.fetchone() #URL is unique, so should only be one
[toc] | [prev] | [next] | [standalone]
Page 3 of 8 — ← Prev page 1 2 [3] 4 5 6 7 8 Next page →
Back to top | Article view | comp.lang.python
csiph-web