Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.22 KB

File metadata and controls

33 lines (28 loc) · 1.22 KB
title ms.date ms.prod ms.technology ms.topic f1_keywords dev_langs ms.assetid author ms.author manager
Expected hexadecimal digit | Microsoft Docs
01/18/2017
visual-studio-windows
vs-javascript
error-reference
VS.WebClient.Help.SCRIPT1023
JavaScript
TypeScript
DHTML
67a86df7-49f9-43cb-99c6-99b1a427827a
mikejo5000
mikejo
ghogen

Expected hexadecimal digit

You created an incorrect Unicode escape sequence. Unicode escape sequences begin with \u, followed by exactly four hexadecimal digits (no more and no less). Unicode hexadecimal digits can contain only the numbers 0-9, the upper case letters A-F, and the lower case letters a-f. The following example demonstrates a correctly formed Unicode escape sequence.

z = "\u1A5F";  

To correct this error

  • Be sure your Unicode hexadecimal digits begin with \u, contains only the numbers 0-9, the upper case letters A-F, the lower case letters a-f; and are grouped into four digits.

    [!NOTE] If you want to use the literal text \u in a string, then use two backslashes - (\\u) - one to escape the first backslash.

See also

Data Types