Tizen Developers

Menu
Sites
Language
Sorting in European languages

Tizen support unicode sorting. This creates problem for european languages which use normal english letters and special character set but every language has its own ordering.

 

For example sorting in french using String::Compare or StringComparer. Tizen gives below order


Espange
Islande
République tchèque
Émirats arabes unis

But actual order in french language should be 


Émirats arabes unis
Espange
Islande
République tchèque

 

This is occuring because tizen is doing unicode based sorting, which works fine for korean or chinese but will create problem with european language.

I was expecting tizen to have some locale based sorting. Where sorting will occur as per language or country but i did not find anything.

Can somebody suggest idea for above problem

 

Edited on 18 03, 2014

Responses

2 Replies
Gary V

I started another thread on this a few days ago:

https://developer.tizen.org/forums/native-application-development/q-feedback-locale-sensitive-string-compare-unicode-collation-algorithm-uca

G.

Manish Kaushik

Thank you Gary .

I went through the mentionedthred. Looks like we don't have any final solution for this problem.

If you are able to use C++ functions for locale base comparison.