in reply to BerkeleyDB + UTF8

When you say:

When I use the same filters in my program I get this output:
what do you mean?

What is this program of yours? Looks like the environment is different from running in the shell or from your program (probably something like locale). If you're using a GUI toolkit, maybe you should check the Unicode support for it.

This article also should help you: http://perlgeek.de/en/article/encodings-and-unicode.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill