Represent a character with a Unicode escape.
Section: String gotchas
Unicode escape sequence
json
json
{
"currency": "\u20AC"
}Explanation
`€` represents the euro symbol.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing String gotchas
Escape quotes inside strings
Use backslash to include literal double quotes.
Use escape sequences for control characters
Encode newlines and tabs inside strings.