Hands-on task
This task is step 6 of the course “Encodings and checksums”
iconv: change the encoding
The file /root/in.txt contains the text café in UTF-8 (the letter é takes 2 bytes). Convert it to ISO-8859-1 (latin1) into the file /root/out.txt, where é takes one byte.
Reference:iconv
What you'll practise:
- iconv
- -f
- -t
- encodings
- UTF-8
- ISO-8859-1