Re: [Dspace-tech] Problem with ordering in browsing

2011-05-26 Thread Ladislav Kulhanek
I have solved a problem. It is hack but it works. The problem was, then item browsing did not work correctly, when values in bi_* tables was normalised (characters with diacritic split to two characters - first character without diacritics and second diacritic itself) and search results sorting

Re: [Dspace-tech] Problem with ordering in browsing

2011-05-23 Thread Ladislav Kulhanek
Thanks for responses. I created class OrderFormatLocale: public class OrderFormatLocale extends AbstractTextFilterOFD { { filters = new TextFilter[] { new LowerCaseAndTrim(), new LocaleOrderingFilter() }; } }

[Dspace-tech] Problem with ordering in browsing

2011-05-19 Thread Ladislav Kulhanek
Hello everybody. We have data in our DSpace in czech language (code cs in accordance with ISO 639-1) and we have a problem with order in browsing by author, titles and subjects (order in search results is correct). There are letters with diacritic in czech alphabet, for example Č (0x010C code in

Re: [Dspace-tech] Problem with ordering in browsing

2011-05-19 Thread Peter Dietz
Hi Ladislav, I've noticed that our librarians here are happier with sorting when we use the collate of C as opposed to utf8/en_US. postgres=# create database dspace with owner = dspace encoding='utf8' tablespace=pg_default lc_collate = 'C' lc_ctype='en_US.UTF-8' template template0; I've add

Re: [Dspace-tech] Problem with ordering in browsing

2011-05-19 Thread Graham Triggs
Please take a look at a previous post of mine on this subject: http://dspace.2283337.n4.nabble.com/Browse-UTF-8-and-sorting-in-1-5-tp3281449p3281450.html Regards, G On 19 May 2011 15:18, Peter Dietz pdiet...@gmail.com wrote: Hi Ladislav, I've noticed that our librarians here are happier