Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

ucs4_sort

sort in Unix system is a wonderful tool, however, it does not handles utf8 files properly, because sort tends to treat them as ASCII strings. There is some solution like msort, but I never get it work.

I therefore write a small program, ucs4_sort, that sorts lines of text files by their UCS-4 encoding. This program DOES NOT implement the Unicode collation algorithm, so do not use the on locale sensitive data.

Please go here for further details.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: