Question

Turkish character problem when sorting grid data
Hi,
I have problem at sorting data in grid, if column data start with Turkish character like "Ş,İ,Ö,Ü,Ç etc".
Has anybody encounter with the same problem?
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-

Can I know the exact issue. Is sorting not performed? or sorted wrongly?

It is sorting wrongly. I see the same problem in report defination

sort in PRPC internally mostly uses compareTo() method and it might be the reason for wrong string compare for turkish characters. Need to check if special handling is done for non English letters or not.
Generally for the Turkish Alphabet abcçdefgğhıijklmnoöprsştuüvyz and applying sort with compareTo() will result in abcdefghijklmnoprstuvyzçöüğış

Yes, I've come across a similar problem before, in some fashion.
When you perform this sort, is this going back to the database to retrieve results or is this simply sorting in Java. That is, if you trace this with DB Query enabled do you see the SQL.
And if this is a DB sort, I assume that the SQL is adding an "order by" clause. Can you please confirm which database type you are using.

We are using Oracle 12. I'm running the same query in oracle it is sorting correctly

what prpcversion are you using.?
Also how the DB is saving the turkish character? In a string format?

we are using version 7.1.7. I'm sorting pyLabel property of Operator. DB is saving Turkish character correctly.

Can you please check and update on what is the value of 'file.encoding' JVM parameter?