Added UTF-8 support (cmd option "-z", or "--utf-8").