Created
November 25, 2021 12:16
-
-
Save QuatoHub/f62106e5b1624089017edc22c28d4cb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let encoder = new TextEncoder(); // 기본 인코딩은 'utf-8' | |
encoder.encode('코') // Uint8Array(3) [236, 189, 148] | |
(236).toString(2) // "11101100" | |
(189).toString(2) // "10111101" | |
(148).toString(2) // "10010100" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment