-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode characters not correctly printed with cow image #9
Comments
Why do you use |
It separates the options from the arguments, so that you can do, for example:
|
Hmm, interesting. I am using version
Thanks for letting me know. o/ |
I'm not quite sure how to fix this. Getting cowsay to do proper Unicode output was a pain, but I thought that binmode line fixed it. (I am not a Perl expert.) What's the output of @possatti Yeah, that |
If I use cowsay with an image that has been converted to a cowfile and a string containing 4-byte characters, they are output incorrectly:
If I remove
binmode STDOUT, ":utf8";
from the cowfile, the message is output correctly, but instead we get a warning from perl:This is using, for example, this file:
The text was updated successfully, but these errors were encountered: