Unicode, UTF 8, JavaScript, and You

Publié le: 13 juin 2015
sur la chaîne: AJ ONeal
7,055
30

I ½ ♥ 💩

See https://coolaj86.com/articles/base64-...

Points of discussion:

From Unicode to UTF-8 as a string, byte sequence, or base64
TextEncoder (DOM)
Unibabel (light weight, DOM, ES3)
Buffer (Pure JS)
StringView (Pure JS)
base64-js (PureJS)

Performance - couldn't test with JSPerf due to... wait for it... unicode

Operations must have predictable output
Secure Remote Password

0xFFFD - unknown character
Unicode vs Encoding
what popped up in my google search
binary example

Naive approach doesn't work
Mozilla's Example gives the wrong byte sequence

ES6 is too fancy and not focusing on solving existing problems
JavaScript vs DOM vs Node


Sur cette page du site, vous pouvez voir la vidéo en ligne Unicode, UTF 8, JavaScript, and You durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur AJ ONeal 13 juin 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,055 fois et il a aimé 30 téléspectateurs. Bon visionnage!