3rdDegree 0 Posted February 4, 2021 Posted February 4, 2021 I stop code snippets in Evernote as references and I have found that when I try to copy and paste these code snippets out to use them since the 10.6.9 update, they are filled with hidden "special characters" that cause my compilers to fail. For instance, this note with some code in it looks fairly normal: But it is in fact full of hidden special characters that look like this when I paste it into a normal text editor: So all the code I have saved in Evernote notes has been destroyed by this and using "Remove Formatting" or "Simple Formatting" doesn't help. I've even tried searching and replacing all those odd characters with spaces in a text editor and then pasting back into Evernote; but it still reinserts the special characters every time. I even tried inserting the cleaned up code (special characters removed) as a Code Block, but Evernote keeps adding back in the special/control characters! Is this something that has been newly introduced and is there a way I can somehow save my notes so that it doesn't store these odd characters in them! Thanks!
Evernote Expert agsteele 3,077 Posted February 4, 2021 Evernote Expert Posted February 4, 2021 My guess is that you have copied the original code from another source and then pasted it into a note. Still guessing, the additional characters are coming with the copy/paste process. My normal approach is to paste with other than astandard Ctrl+V. There isn't an option to paste with the formatting 'Keep Text Only'. To strip errant code I typically paste into a text editor then copy out of the editor into the desitination program - such as Evernote. These are the Android forums so I'll leave it there and perhaps you can move the question to where there are others who might be more knowledgeable.
3rdDegree 0 Posted February 4, 2021 Author Posted February 4, 2021 Thanks for your reply. I guess it's possible. I've been copying them in from a notepad text file and the special characters are still there. Might be something else going on. I'll keep digging. Thanks again.
Rrodrigm 0 Posted November 2, 2021 Posted November 2, 2021 I have the same issue. I found a workaround. You will need to fix manually one by one of your code snippets. You need to identify them as Code Block. Go to your left upper and insert a code block. Then fix your code and paste it back to evernote. Once it is flagged as code block it will work as it used to.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now