On Thu, Dec 25, 2025 at 01:24:29PM -0800, 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.

This is actually a do-nothing command. UTF-8 is a strict coding superset
of US-ASCII and all ASCII files are also 100% valid UTF-8. This will
just output the same file it was given for input. This is more for
things like changing legacy Latin-1 files to UTF-8 as Latin-1 encodes
non-ASCII characters differently than UTF-8 does, but the common ASCII
subset of both Latin-1 and UTF-8 have 100% identical byte encoding.

> 
> HTH,
> 
> Rich

-- 
Loren M. Lang
[email protected]
http://www.north-winds.org/
IRC: penguin359


Public Key: http://www.north-winds.org/lorenl_pubkey.asc
Fingerprint: 7896 E099 9FC7 9F6C E0ED  E103 222D F356 A57A 98FA

Attachment: signature.asc
Description: PGP signature

Reply via email to