Rich:

owner@localhost:~> iconv -f UTF-8 -t ASCII ttt.txt -o ttt.ascii
iconv: illegal input sequence at position 465
owner@localhost:~>

So I cannot hammer a UTF-8 file into ASCII

owner@localhost:~> iconv -f ASCII -t UTF-8 ttt.ascii.txt -o ttt.utf-8.txt
owner@localhost:~> file ttt.utf-8.txt
ttt.utf-8.txt: ASCII text
owner@localhost:~>

so nothing really changed.

Randall

On 12/25/25 13:24, Rich Shepard wrote:
On Thu, 25 Dec 2025, American Citizen wrote:

My locale command shows identical values to yours. They match exactly.

Randall,

Were I in the same situation I'd use iconv on each ASCII file. Read `man
iconv'.

Example: To convert ASCII to UTF-8 in Linux, you can use the iconv command.
The syntax is: iconv -f ASCII -t UTF-8 input_file.txt -o output_file.txt.

HTH,

Rich

Reply via email to