Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-07 Thread Kerin Millar
On 06/08/2013 23:42, Stroller wrote: On 6 August 2013, at 14:04, Kerin Millar wrote: ... If undefined, the value of LC_COLLATE is inherited from LANG. I'm not sure that overriding it is particularly useful nowadays but it doesn't hurt. It's been a couple of years since I looked into this,

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-07 Thread Stroller
On 7 August 2013, at 13:41, Kerin Millar wrote: On 06/08/2013 23:42, Stroller wrote: On 6 August 2013, at 14:04, Kerin Millar wrote: ... If undefined, the value of LC_COLLATE is inherited from LANG. I'm not sure that overriding it is particularly useful nowadays but it doesn't hurt.

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-07 Thread Kerin Millar
On 07/08/2013 17:40, Stroller wrote: On 7 August 2013, at 13:41, Kerin Millar wrote: On 06/08/2013 23:42, Stroller wrote: On 6 August 2013, at 14:04, Kerin Millar wrote: ... If undefined, the value of LC_COLLATE is inherited from LANG. I'm not sure that overriding it is particularly

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Kerin Millar
On 05/08/2013 23:52, Chris Stankevitz wrote: On Mon, Aug 5, 2013 at 11:53 AM, Mike Gilbert flop...@gentoo.org wrote: The handbook documents setting a system-wide default locale. You generally do this by setting the LANG variable in /etc/conf.d/02locale.

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Bruce Hill
On Tue, Aug 06, 2013 at 02:04:00PM +0100, Kerin Millar wrote: Legitimate locales are those installed with glibc. These can be shown with either eselect locale list or locale -a. Having never used eselect with locales (AFAIR) before today. Why does locale -a return utf8? I know UTF-8 is

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Kerin Millar
On 06/08/2013 14:24, Bruce Hill wrote: On Tue, Aug 06, 2013 at 02:04:00PM +0100, Kerin Millar wrote: Legitimate locales are those installed with glibc. These can be shown with either eselect locale list or locale -a. Having never used eselect with locales (AFAIR) before today. Why does

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Bruce Hill
On Tue, Aug 06, 2013 at 02:40:04PM +0100, Kerin Millar wrote: Apparently, utf8 is the canonical representation in glibc (which provides the locale tool): http://lists.debian.org/debian-glibc/2004/12/msg00028.html That eselect enumerates the locale twice when the alternate form is

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Kerin Millar
On 06/08/2013 15:26, Bruce Hill wrote: On Tue, Aug 06, 2013 at 02:40:04PM +0100, Kerin Millar wrote: Apparently, utf8 is the canonical representation in glibc (which provides the locale tool): http://lists.debian.org/debian-glibc/2004/12/msg00028.html That eselect enumerates the locale twice

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Mike Gilbert
On Mon, Aug 5, 2013 at 6:52 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: On Mon, Aug 5, 2013 at 11:53 AM, Mike Gilbert flop...@gentoo.org wrote: The handbook documents setting a system-wide default locale. You generally do this by setting the LANG variable in /etc/conf.d/02locale.

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 6:04 AM, Kerin Millar kerfra...@fastmail.co.uk wrote: Run eselect locale, first with the list parameter and then the set parameter as appropriate. It's easier. Kerin, all, Thank for your help. SVN (and I'm sure other apps) are happy now. Chris

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 8:13 AM, Mike Gilbert flop...@gentoo.org wrote: Leaving LC_COLLATE unset will cause strings to be sorted according to the normal rules associated with your locale. Mike (or anyone else), For which applications does setting LC_COLLATE affect sorting: a) Any C++

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Stroller
On 6 August 2013, at 14:04, Kerin Millar wrote: ... If undefined, the value of LC_COLLATE is inherited from LANG. I'm not sure that overriding it is particularly useful nowadays but it doesn't hurt. It's been a couple of years since I looked into this, but I'm given to believe that LANG

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Mike Gilbert
On Tue, Aug 6, 2013 at 2:23 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: On Tue, Aug 6, 2013 at 8:13 AM, Mike Gilbert flop...@gentoo.org wrote: Leaving LC_COLLATE unset will cause strings to be sorted according to the normal rules associated with your locale. Mike (or anyone else),

[gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Chris Stankevitz
Hello, I am using svn to update a repository. Somebody added files to the repository with weird characters in the filename. SVN refuses to update the respository unless I first: export LC_CTYPE=en_US.UTF-8 I don't know or really care what that mumbo jumbo means, but I would like an answer to

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Mike Gilbert
On Mon, Aug 5, 2013 at 2:25 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: Hello, I am using svn to update a repository. Somebody added files to the repository with weird characters in the filename. SVN refuses to update the respository unless I first: export LC_CTYPE=en_US.UTF-8

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Bruce Hill
On Mon, Aug 05, 2013 at 02:53:11PM -0400, Mike Gilbert wrote: On Mon, Aug 5, 2013 at 2:25 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: Hello, I am using svn to update a repository. Somebody added files to the repository with weird characters in the filename. SVN refuses to

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Mike Gilbert
On Mon, Aug 5, 2013 at 2:57 PM, Bruce Hill da...@happypenguincomputers.com wrote: On Mon, Aug 05, 2013 at 02:53:11PM -0400, Mike Gilbert wrote: On Mon, Aug 5, 2013 at 2:25 PM, Chris Stankevitz chrisstankev...@gmail.com wrote: Hello, I am using svn to update a repository. Somebody added

Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Chris Stankevitz
On Mon, Aug 5, 2013 at 11:53 AM, Mike Gilbert flop...@gentoo.org wrote: The handbook documents setting a system-wide default locale. You generally do this by setting the LANG variable in /etc/conf.d/02locale.