O'Reilly logo

JavaScript Recipes: A Problem-Solution Approach by Keith Cirkel, Russ Ferguson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Russ Ferguson and Keith Cirkel 2017
Russ Ferguson and Keith CirkelJavaScript Recipes10.1007/978-1-4302-6107-0_3

3. Working with Strings

Russ Ferguson and Keith Cirkel2
(1)
Ocean, New Jersey, USA
(2)
London, UK
 

Understanding Unicode Strings

Caution
Unicode code point escape codes are an ES6 feature. Some browsers still in use, such as Internet Explorer 11 and below, or Safari 7 and below, do not support this feature. Check out http://kangax.github.io/es5-compat-table/es6/ for the current compatibility charts.

Problem

You want to have a better understanding of Unicode strings.

Solution

JavaScript uses the Unicode standard of encoding characters. In JavaScript Unicode, character points can be manually expressed using the \uXXXX (Unicode code unit format) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required