Because we only need digits (0-9) in this case, ASCII and UTF-8 will be identical in terms of storage. This is because the first 128 characters in UTF-8 are stored in a single byte, whereas ASCII is simply a subset of UTF-8.
To make a smaller file, we can either store the numbers as their binary equivalents or try to compress the data using Huffman Coding, which is a greedy algorithm used for compressing data without data loss.
What is ASCII?
ASCII, which stands for American Standard Code for Information Interchange, is a standard for assigning letters, numbers, and other characters to the 256 slots available in the 8-bit code.
The ASCII decimal (Dec) number is derived from binary, the universal computer language. The lowercase "h" character (Char) has a decimal value of 104, which is "01101000" in binary, as shown in the table below.
To know more about ASCII, visit: https://brainly.com/question/20361136
#SPJ4