Skip to content

Instantly share code, notes, and snippets.

@andrijac
Created May 17, 2023 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrijac/abdef1886aeca762a83a3223558b5cfe to your computer and use it in GitHub Desktop.
Save andrijac/abdef1886aeca762a83a3223558b5cfe to your computer and use it in GitHub Desktop.
Vaperware chars
let unicodeString = "";
for(let i = 0xFF21; i <= 0xFF3A; i++) {
unicodeString += String.fromCharCode(i); // uppercase A-Z
}
for(let i = 0xFF41; i <= 0xFF5A; i++) {
unicodeString += String.fromCharCode(i); // lowercase a-z
}
for(let i = 0xFF10; i <= 0xFF19; i++) {
unicodeString += String.fromCharCode(i); // numbers 0-9
}
console.log(unicodeString);
//output: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment