Unicode sorting of student names

Asked by Daniel Owens

I did not see a bug report on this, but I have students whose names are in Vietnamese characters. Normally the sorting of characters includes sorting by diacritics. An easy example is all the students whose name begin with a letter "D." There are two ways of writing it in Vietnamese, one as simply "D" and the other as "Đ". They are distinct letters, but currently schooltool sorts them both as D. So our list of students is currently sorted by SchoolTool as:


Dáo
Đông
Dua
Dũng
Đương
Mao

It should be:


Dáo
Dua
Dũng
Đông
Đương
Mao

In other words, "D" should always precede "Đ". Is this something that can be achieved in a future release of Schooltool?

Question information

Language:
English Edit question
Status:
Answered
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom Hoffman (tom-hoffman) said :
#1

I filed a bug for this. Did you notice if it occurs uniformly in SchoolTool or only in certain places?

Revision history for this message
Daniel Owens (dh-owens) said :
#2

Good question. I confirmed that it happens both for names (people) and for course titles. So I assume it is uniform across SchoolTool.

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#3

Whether or not this is difficult to solve will depend on if it is really an underlying bug or different interpretation in some unicode library or just us forgetting to use the correct unicode incantation.

Can you help with this problem?

Provide an answer of your own, or ask Daniel Owens for more information if necessary.

To post a message you must log in.