Summary: | [PATCH] games/cowsay: cowsay doesn't handle UTF8 properly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Aleksander Alekseev <afiskon> | ||||||||
Component: | Individual Port(s) | Assignee: | Carlos J. Puga Medina <cpm> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Many People | CC: | afiskon, amdmi3, cpm, junovitch, lifanov, w.schwarzenfeld | ||||||||
Priority: | --- | Keywords: | patch, patch-ready | ||||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(lifanov) |
||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 173346 [details]
diff -u of old and new patch-cowsay
Created attachment 173347 [details]
patch-cowsay
Bump PORTREVISION
Comment on attachment 173347 [details]
patch-cowsay
Approved! This works as you described. Thank you for the fix!
It is not really important, but there are still problems with UTF-8 with the eye string and the tongue string. Waiting for mentor approval. Mentor approved. A commit references this bug: Author: cpm Date: Wed Aug 10 10:11:50 UTC 2016 New revision: 420004 URL: https://svnweb.freebsd.org/changeset/ports/420004 Log: - Partially fix cowsay UTF-8 handling - Bump PORTREVISION PR: 211614 Submitted by: Aleksander Alekseev <afiskon@devzen.ru> Approved by: Nikolai Lifanov (maintainer), junovitch (mentor) Changes: head/games/cowsay/Makefile head/games/cowsay/files/patch-cowsay Committed! Thanks |
Created attachment 173345 [details] Fixed files/patch-cowsay Fixed files/patch-cowsay is attached. Before: ``` $ echo 'Привет!' | cowsay _______________ < Привет! > --------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ``` After: ``` $ echo 'Привет!' | cowsay _________ < Привет! > --------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ```