Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^7: Sorting Vietnamese text

by Atacama (Sexton)
on Dec 25, 2013 at 04:28 UTC ( #1068346=note: print w/replies, xml ) Need Help??

in reply to Re^6: Sorting Vietnamese text
in thread Sorting Vietnamese text

Any other ideas?
A quick search shows that vietnamese words are sorted by letters first, then tone-marks. Sometimes tone-marks are even ignored. So that's probably correct:
ỳ :
ỷ :
ỳ ạch : ...looks like Unicode::Collate does it right, but additional first-character ordering is required to get a dictionary order (happens to be different from a simple sorted order in vietnamese).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068346]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2016-10-28 20:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.