Convert UTF-16 Code into String with JavaScript | String.fromCharCode Method

preview_player
Показать описание
A quick video to explain how to use the 'fromCharCode' method on Strings in JavaScript. This method/function allows you to convert a UTF-16 Code Point into a String, or optionally, a sequence of Strings.

A method like this would likely be more seen on server-side JavaScript code rather than the front-end, especially when dealing with files, network streams or encryption.

In this video I take you through how this function works and how you can use it.

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

Thanks for this video. It helped me understand the method being used on codewars lol

kieran