in reply to Re^2: Does 'use locale' Change What Is Considered To Be 'alphabetical order'?
in thread Does 'use locale' Change What Is Considered To Be 'alphabetical order'?
That just causes STDIN, STDOUT and STDERR to properly decode and encode characters. It's got nothing to do with the problem at hand. I added a solution to my post as you posted this reply.