Output non-ascii characters + avoid some syntax within strings that causes it to break out of itself
Archiviert 4 months ago
B
SkiesOfSorrow
Verified
- I'm probably closer to a beginner in javascript.
In short, I'm making myself a little HTML page where I can quickly copy the username and password for my accounts.
Unfortunately, I'm the type of person to spam every single sort of key then just keep the passwords stored in a file.
I have already produced the function to copy the text to clipboard and everything, though once produced out the other end, particularly symbols like "£" (Not ASCII) are output wrong.
If possible.. is there a way I can retain backquotes and backslashes within the strings as well? If this is possible I can import all the passwords with a script as they will all fit the syntax and I won't have to filter out a few.

