What Is ASCII?
Learn which characters ASCII can represent, where UTF-8 fits, and how to check a text field before sending it to a legacy system.

ASCII is a seven-bit character set
ASCII assigns 128 codes to English letters, digits, punctuation and control characters. It can represent A, 7 and a plain hyphen, but it cannot represent é or an em dash. If a receiving system accepts only ASCII, review which fields actually need to obey that limit. An order code may have a stricter rule than the buyer's name.
Distinguish a character from its bytes
An uppercase A is ASCII decimal 65, which is hexadecimal 41. In UTF-8 it also uses the one byte 41. The é character has no ASCII code; its UTF-8 encoding for U+00E9 is the two bytes C3 A9. A display showing two unusual symbols instead of é may have decoded those bytes using a different encoding. The source and receiver must agree about how bytes become text.
| Content | ASCII? | What to check |
|---|---|---|
| DEPOT-7 | Yes | Field-specific limits may still apply |
| Café | No | Confirm whether the destination supports UTF-8 |
| A tab or line feed | Has an ASCII code | A field may still forbid control characters |
Work through an order-file example
An export includes an identifier DEPOT-7 and a delivery note Café counter. The legacy identifier field can stay ASCII. The delivery note needs a text field whose encoding supports the original name. If the destination cannot accept the note, keep the original in the source system and ask the receiving team for an approved mapping or manual exception. Do not strip accents from everyone in the database to satisfy a single downstream field.
Test the export and the receiver separately
Keep a short test file with a plain identifier, an accented character and a deliberate tab. Confirm the export encoding. Import a copy in the receiving workflow and compare exact values. An identifier may survive while a name is corrupted; a tab may be converted into a new column rather than text. Record which field changed and whether it changed during export, transport, import or display.
Decide which problem you need to solve
If the source is already readable, identify the character that the destination rejects. If the source is shown as hexadecimal bytes, decode it using the encoding specified by the sender. If neither system documents an encoding, obtain a small exchange sample and compare both systems before changing production data.
Questions about ASCII
Does ASCII mean printable text only? No. It includes controls such as tab and line feed; a printable-only field can still reject them.
Is every UTF-8 file an ASCII file? No. UTF-8 represents ASCII characters with the same single-byte values, but it can also encode many characters outside ASCII.
Use a small example to verify the next step
Start with 41 when you need a known hexadecimal example. The ASCII character should be A. For C3 A9, check the agreed UTF-8 decoding rather than treating each byte as a separate ASCII character. Keep the encoding name in the handoff so the same test can be repeated on both sides.
Use Hex to ASCII to check a known ASCII byte such as 41.

