Description
Return response unchanged and count its Unicode code points.
Identity and survey records can preserve a person's stated wording, display preference, source, and missing-value convention. A formatter should not infer an identity or turn a recorded label into permission for publication.
Return response unchanged and count its Unicode code points.
When to use this tool
Use Selfidentified Gender Response Literal Preserver when you need to organize supplied identity-related record fields while preserving their stated scope.
How to use the tool and how it works
- Enter response. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read preservedResponse, codePointCount. Use the output convention below.
Return response unchanged and count its Unicode code points.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| response | Response | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| preservedResponse | Preserved Response | Required. Text; maximum UTF-16 length 8192. |
| codePointCount | Code Point Count | Required. Safe integer. |
{
"input": {
"response": "Two-Spirit"
},
"output": {
"preservedResponse": "Two-Spirit",
"codePointCount": 10
}
} Limitations and assumptions
- No categories, normalization, inference, or judgment about identity is applied; code points are not graphemes and reuse permission is not established.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Confirm preferences, consent, source wording, and the purpose of collection before displaying or combining personal records.
References
Similar or alternative tools
- Survey Name Field Display Choice
Return the preferred name with consent or participant code otherwise.
- Gender Term Historical Source Tag
Quote the historical term and append source and year.