Re: EBCDIC sorting as a use case for ICU rules
| От | Peter Eisentraut | 
|---|---|
| Тема | Re: EBCDIC sorting as a use case for ICU rules | 
| Дата | |
| Msg-id | 34455279-3b78-f164-7260-1b442ce3b07e@eisentraut.org обсуждение исходный текст  | 
		
| Ответ на | Re: EBCDIC sorting as a use case for ICU rules ("Daniel Verite" <daniel@manitou-mail.org>) | 
| Ответы | 
                	
            		Re: EBCDIC sorting as a use case for ICU rules
            		
            		 | 
		
| Список | pgsql-hackers | 
On 17.07.23 10:10, Daniel Verite wrote: > Peter Eisentraut wrote: > >> You can use whitespace in the rules. For example, >> >> CREATE COLLATION ebcdic (provider='icu', locale='und', >> rules=$$ > > Nice, it's clearly better that the piece of code I had in the > previous patch. > It can also be made more compact by grouping consecutive > code points, for instance <*a-r for 'a' to 'r' > I changed it that way, and also moved '^' before '[' and ']', > since according to [1], '^' is at location 0xB0 and '[' and ']' > at 0xBA and 0xBB. > > Updated patch attached. Committed with some editing. I moved the existing rules example from the CREATE COLLATION page into the new section you created, so we have a simple example followed by the complex example.
В списке pgsql-hackers по дате отправления: