Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12840
| Date | 2011-09-06 17:53 +0200 |
|---|---|
| From | Thomas Jollans <t@jollybox.de> |
| Subject | Re: Portable locale usage |
| References | <e4299b1f-c855-4bc9-9e61-3006172410dc@l28g2000yqh.googlegroups.com> <mailman.796.1315307774.27778.python-list@python.org> <6abee826-23f3-4d5e-948e-f2a436bf0ac0@t3g2000vbe.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.804.1315324373.27778.python-list@python.org> (permalink) |
On 06/09/11 16:46, ssegvic wrote: > For the moment, I only wish to properly sort a Croatian text file > both on Windows and Linux (I am a cautious guy, I like reachable > goals). > When the locale is properly set, sorting works like a charm > with mylist.sort(key=locale.strxfrm). The problem with that is of course that a Croatian locale has to be installed. Many Linux systems don't have locales that aren't used.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-06 02:59 -0700
Re: Portable locale usage Thomas Jollans <t@jollybox.de> - 2011-09-06 13:16 +0200
Re: Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-06 07:46 -0700
Re: Portable locale usage Thomas Jollans <t@jollybox.de> - 2011-09-06 17:53 +0200
Re: Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-07 03:39 -0700
Re: Portable locale usage Thomas Jollans <t@jollybox.de> - 2011-09-07 15:15 +0200
Re: Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-07 04:17 -0700
Re: Portable locale usage garabik-news-2005-05@kassiopeia.juls.savba.sk - 2011-09-06 20:58 +0000
Re: Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-07 04:02 -0700
Re: Portable locale usage Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-09-06 15:13 +0200
Re: Portable locale usage ssegvic <sinisa.segvic@fer.hr> - 2011-09-06 08:31 -0700
csiph-web