Fix wide character problem on perl 5.18.2
Merge pull request #10 from ispiridonov/master

Fix wide character problem on perl 5.18.2