Knowledge Base & Reference
Frequently Asked Questions
Everything you need to know about Charli's in-browser text intelligence tools, Unicode handling, privacy architecture, and accuracy limitations.
General Questions
Unicode & Character Detection
Hidden & Invisible Characters
Text Cleaning & Normalization
Text Comparison & Visual Twins
Compatibility, SMS & Encoding
Privacy & Security Architecture
Accuracy & Known Limitations
01
General Questions
Charli is a text intelligence and character analysis toolkit. It helps you understand what is inside your text — including invisible characters, Unicode anomalies, and formatting issues — and helps you safely fix them before they cause problems.
Charli is useful for software developers, technical writers, QA engineers, content specialists, marketers, and anyone who needs to inspect, clean, compare, or verify text before using it in applications, messages, or APIs.
Standard counters only report basic string length. Charli distinguishes Unicode code points, grapheme clusters, and UTF-16 code units — which are not interchangeable. It also uncovers zero-width spaces, mixed-script homoglyphs, GSM-7 SMS segment costs, and provides safe, non-destructive diff previews before any changes are applied.
No. Charli operates 100% locally in your browser with no account, authentication, or installation required. All features run on your machine without external dependencies.
02
Unicode & Character Detection
These are three distinct concepts:
- Unicode code point: A number assigned to each Unicode character (e.g. U+1F600 for 😀). The count returned by
Array.from(text).length. - Grapheme cluster: What a user perceives as a single character. A family emoji (👨👩👧👦) is one grapheme cluster but composed of multiple code points joined by Zero-Width Joiners.
- UTF-16 code unit: JavaScript’s internal string representation. Characters outside the Basic Multilingual Plane (emojis, some CJK) take 2 code units (a surrogate pair). This is what
string.lengthreturns in JavaScript.
Charli scans individual word tokens for characters from conflicting Unicode scripts — for example, Cyrillic "а" (U+0430) alongside Latin letters. These visually identical characters are different code points that break string equality, security checks, and URL resolution.
Unicode allows multiple representations of the same visible character. The letter "é" can be a single precomposed code point (U+00E9) or a decomposed pair ("e" + combining accent U+0301). They look identical but are not equal as strings. Normalization to NFC (canonical composed) or NFKC (compatibility composed) makes comparisons reliable.
04
Text Cleaning & Normalization
No. Charli always shows a side-by-side preview of proposed changes before applying them. You must explicitly confirm any transformation. The original text is preserved until you accept, and every applied change can be undone.
Charli’s cleaner supports:
- Leading and trailing whitespace removal
- Duplicate whitespace normalization
- Line-ending normalization (CRLF → LF)
- Invisible and zero-width character removal
- Unicode NFC and NFKC normalization
- Smart-to-straight quote conversion
- Em-dash and en-dash normalization
- Null byte removal
05
Text Comparison & Visual Twins
The comparator performs character-by-character diff analysis. It detects whitespace-only differences, Unicode normalization differences, visually identical but technically different characters (visual twins), invisible character insertions, combining mark differences, emoji ZWJ sequence mismatches, and bidirectional text differences.
A visual twin warning means two strings look identical when rendered but contain different Unicode code points. This commonly occurs with homoglyph spoofing (e.g. Cyrillic "а" substituted for Latin "a") or Unicode normalization differences. The comparator identifies these pairs explicitly.
06
Compatibility, SMS & Encoding
SMS messages in GSM-7 encoding are limited to 160 characters per segment. If your text includes any character outside the GSM 03.38 alphabet (such as emojis, smart quotes, em-dashes, or most non-Latin scripts), the message is encoded in UCS-2, which reduces the per-segment capacity to 70 characters (or 67 characters for multi-part messages). Charli identifies which specific characters trigger this switch.
Characters in the GSM 03.38 extension table require an escape prefix byte (0x1B) and consume 2 septets each:
{, }, [, ], ^, ~, |, \, and €. Charli counts extension characters correctly and reflects their true cost in the segment calculation.Charli supports SMS (GSM-7 / UCS-2 segment calculation), URL (RFC 3986 percent-encoding), JSON (RFC 8259 syntax validation), JavaScript identifier (ES2022 grammar), and Python identifier (PEP 3131 grammar) profiles.
No. Charli implements the core rules for each supported profile, but carrier behaviour, application-specific parsing, and edge cases may differ from these calculations. Results are estimates and should be treated as reference information rather than authoritative guarantees. The accuracy disclaimer on each tool page reflects this.
07
Privacy & Security Architecture
No. All text processing in Charli runs 100% locally in your browser memory using native Web APIs and pure TypeScript functions. Your text is never sent over a network, never stored on a server, and is not sent to AI models or analytics services. You can verify this by inspecting your browser's network activity tab while using the tool.
No. Charli deliberately avoids storing your text in localStorage, sessionStorage, URL query strings, or URL fragments. Your text exists only in browser memory while you are using the tool and is discarded when you close the tab or navigate away.
Because Charli processes text exclusively in your browser and transmits nothing externally, it is designed to be safe for use with sensitive technical content. That said, standard security practices apply: use trusted devices and browsers, and avoid using public or shared computers for sensitive analysis.
08
Accuracy & Known Limitations
Charli's core counting, detection, and compatibility logic is deterministic and based on Unicode and encoding standards. However, some analyses (such as compatibility checking) are estimates based on simplified rule sets. Results may not cover every application-specific edge case. Always review suggested changes before applying them, especially for language-sensitive or production text.
Known limitations include:
- Homoglyph detection covers common Latin/Cyrillic/Greek lookalikes but does not cover every confusable pair in the Unicode confusables dataset.
- SMS segment estimates are based on 3GPP TS 23.038 and may differ from carrier-specific behaviour.
- Compatibility profiles implement core grammar rules but may not cover every edge case for complex JSON structures or unusual identifier patterns.
- The character inspector previews are capped at the first 500 characters for performance on very large inputs.
- Language detection for script classification is based on Unicode block ranges, not full NLP analysis.
Still have questions?
Try the tools yourself in the workspace or reach out directly to the creator with feedback or questions.
