I want to print art ASCII words (pixel words) like these on Console:
███████╗███╗ ██╗ █████╗ ██╗ ██╗███████╗
██╔════╝████╗ ██║██╔══██╗██║ ██╔╝██╔════╝
███████╗██╔██╗ ██║███████║█████╔╝ █████╗
╚════██║██║╚██╗██║██╔══██║██╔═██╗ ██╔══╝
███████║██║ ╚████║██║ ██║██║ ██╗███████╗
╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
My idea is reading from a file .txt then print it, but it is not effective. It prints like these:
ûêΓûêΓûêΓûêΓûêΓûêΓûêΓòùΓûêΓûêΓûêΓòù ΓûêΓûêΓòù ΓûêΓûêΓûêΓûêΓûêΓòù ΓûêΓûêΓòù ΓûêΓûêΓòùΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓòù
ΓûêΓûêΓòöΓòÉΓòÉΓòÉΓòÉΓò¥ΓûêΓûêΓûêΓûêΓòù ΓûêΓûêΓòæΓûêΓûêΓòöΓòÉΓòÉΓûêΓûêΓ
So what should I do to solve?
I read a question (Read and print special ascii characters from file in c) from 3 years ago, but it’s also not effective.
New contributor
Nguyễn Hoàng Hải is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1