Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Okay -- the alphabet is only 93 characters per the link in 1068127; you had seven characters extra.
You should clarify what the relation between monosyllables and polysyllables is, and what is the desired collation behaviour between them. My current tr/// (/d still not doing what I expect it to): $primary =~ tr(aàảãáạăằẳẵắặâầẩẫấậbcdđeèẻẽéẹêềểễếệfghiìỉĩíịjklmnoòỏõóọôồổỗốộơờởỡớợpqrstuùủũúụưừửữứựvwxyỳỷỹýỵz) (0000001111112222223456777777888888abcddddddefghijjjjjjkkkkkkllllllmnopqrrrrrrsssssstuvwwwwwwx)d; $secondary =~ tr#aàảãáạăằẳẵắặâầẩẫấậbcdđeèẻẽéẹêềểễếệfghiìỉĩíịjklmnoòỏõóọôồổỗốộơờởỡớợpqrstuùủũúụưừửữứựvwxyỳỷỹýỵz#\x00-\x5d#d; In reply to Re^4: Sorting Vietnamese text
by Anonymous Monk
|
|