Need for Unicode utf8 SortString plug-in!

Started by: kornaros3 voices5 posts

Dear friends!

Do you know if it possible to create a unicode SortString plug-in using one or more unicode utf-8 texts(for example ancient polytonic Greek) using some user-defined letter ordering? The result must be a new text with one unicode word per line with no repetitions! I have tried SortStringA but without result for unicode Utf-8 encodings.

Thanks in advance!

kornaros wrote:
Dear friends!

Do you know if it possible to create a unicode SortString plug-in using one or more unicode utf-8 texts(for example ancient polytonic Greek) using some user-defined letter ordering? The result must be a new text with one unicode word per line with no repetitions! I have tried SortStringA but without result for unicode Utf-8 encodings.

Thanks in advance!

SortStringA is Unicode plug-in, so it should work. However, if you want to create a new text and want to remove repetitions, you might need to write a macro for that purpose.

Dear Yutaka,

thank you for the replay!

SortStringA does not work as supposed. For example, if you have two word in polytonic Greek( in different lines): καθὼς and ἐν then there will be no result! Of course ἐν> καθὼς! Also the words must be in different lines because otherwise one will take no output. Am I wrong? Could you please design SortStringA better so that the user can choose or make some changes of the alphabetical order of his locale? I think such plug-in will be very useful for people working with OCR programs and need to make a user-defined dictionary for the Ancient Greek or Latin for better recognition!

Thank you in Advance!

I tried your example (καθὼς and ἐν), and SortString sorted them correctly (first line is ἐν, second is καθὼς if I sort from A to Z, and vice versa if from Z to A).

kornaros wrote:
Dear Yutaka,

thank you for the replay!

SortStringA does not work as supposed. For example, if you have two word in polytonic Greek( in different lines): καθὼς and ἐν then there will be no result! Of course ἐν> καθὼς! Also the words must be in different lines because otherwise one will take no output. Am I wrong? Could you please design SortStringA better so that the user can choose or make some changes of the alphabetical order of his locale? I think such plug-in will be very useful for people working with OCR programs and need to make a user-defined dictionary for the Ancient Greek or Latin for better recognition!

Thank you in Advance!


What version of EmEditor and SortString plug-in are you using?

Did you check the plug-in properties of the SortString plug-in? From there you can select the locale, and other options. What locale are you using for the plug-in?

5 posts in this topic