Emoji/Non-ASCII Headers Flagger

Find headers containing any non-ASCII UTF-16 unit, including accented characters and emoji, without claiming to identify emoji or reject Unicode names.

Description

ASCII covers code points through U+007F.

ASCII covers code points through U+007F. Accented letters, non-Latin scripts and emoji fall outside that range, which may matter to systems with restrictive header-name conventions.1

Find headers containing any non-ASCII UTF-16 unit, including accented characters and emoji, without claiming to identify emoji or reject Unicode names.

When to use Emoji/Non-ASCII Headers Flagger

Use this tool to find headers containing any non-ASCII UTF-16 unit, including accented characters and emoji, without claiming to identify emoji or reject Unicode names.

Choose the original CSV text, decoded cell strings, byte values or counts requested by this tool. Use the stated delimiter, encoding, indexing and number/date convention.

How to use Emoji/Non-ASCII Headers Flagger and understand its results

  1. Choose the original CSV text, decoded cell strings, byte values or counts requested by this tool. Use the stated delimiter, encoding, indexing and number/date convention.
  2. Enter headers using the field table and calculation rules, then run the tool.
  3. Read indices. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
headersHeaderslist of string; maximum length: 10000; minimum entries: 0; maximum entries: 10000Required

Enter decoded header strings. A regular expression checks each header for a non-ASCII unit and returns matching zero-based indices in original order. Each header is listed once. Empty headers and headers containing only ASCII characters are unflagged, including ASCII controls.

indices = headers containing any UTF-16 unit outside U+0000…U+007F

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
indicesIndiceslist of integer; minimum: 0
json
{
  "input": {
    "headers": [
      "name",
      "café",
      "😀 count"
    ]
  },
  "output": {
    "indices": [
      1,
      2
    ]
  }
}

Limitations and assumptions

This does not identify emoji specifically, validate header names or imply that Unicode names are invalid. It does not normalize text, transliterate characters or inspect an encoding. Use a separate control-character check if ASCII controls are also a concern.

Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Cell-string lists also have a combined text budget of 100,000 UTF-16 units per list. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Latin-1 Export Compatibility Warning: Report cells containing characters outside ISO-8859-1’s U+0000–U+00FF repertoire; Windows-1252 substitutions such as the euro sign are not accepted as Latin-1. For a complementary task, use Control Character Finder In Fields: Locate C0 and C1 control characters, including DEL, in cell strings and report cell index, UTF-16 offset, and code point; tabs and line breaks are included.

References

  1. Emoji/Non-ASCII Headers Flagger — tool.io

Similar or alternative tools

  • Latin-1 Export Compatibility Warning

    Report cells containing characters outside ISO-8859-1’s U+0000–U+00FF repertoire; Windows-1252 substitutions such as the euro sign are not accepted as Latin-1.

  • Control Character Finder In Fields

    Locate C0 and C1 control characters, including DEL, in cell strings and report cell index, UTF-16 offset, and code point; tabs and line breaks are included.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies