The following bug has been logged on the website:
Bug reference: 14885
Logged by: Kalin Daskalov
Email address: k(dot)daskalov(dot)911(at)gmail(dot)com
PostgreSQL version: 9.4.4
Operating system: windows 7 64 bit
Description:
I'm using ORDER BY <character varying field> containing win-1251 symbols.
No matter whether the encoding is WIN1251 or UTF8.
I try it on different versions of PostgreSQL - the result is the same.
There is a mistake in sorted values for symbols "и" (и) and "й"
(й) - capital letters too.
Here is a small example:
"АЙГЕР"
"АИКО"
"АЙКОН"