step1
sudo nano /etc/default/locale
step2
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
step3
sudo update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
step4
Finally restart your machine
Watch video How to fix "ERROR: Ansible requires the locale encoding to be UTF-8; Detected ISO8859-1" in ubuntu? online without registration, duration hours minute second in high quality. This video was added by user TS 20 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,862 once and liked it 27 people.