Jump to content

How to use only ascii space in my note?


Recommended Posts

I use Evernote to store some of my linux bash shell code. After switch to the 10+ version, some of the space in the code will be converted into "?" or other unrecognizable characters after copy to bash shell.  

Can I force some of my note part to use the "normal" ascii space only? This is a long lasting bug. I tested it in 10.22.3-win-ddl-public version and it was still there?

Will you try to solve this issue? Any kinds of workaround are also welcomed. 

 

Best,

RS

Link to comment
  • Level 5

No, the only code function is the code block that can be inserted from the blue + menu. I don’t think it does restrict to ASCII, and there are no options.

Use an editor that allows to choose the type of text coding you need, attach the files to a note.

  • Like 1
Link to comment
  • Level 5*
10 minutes ago, runsheng said:

I use Evernote to store some of my linux bash shell code.

If you're using Evernote's default format for notes, it's .enml format (basically html)   
I prefer to store my code in text format, as a note attachment file

  • Like 1
Link to comment
9 hours ago, Mike P said:

And in V10 files with txt extension appear inline so no need to open the attachement to view it.

Thank you all very much. I tried adding txt file, and it appears inline in both legacy and V10 version. Adding the code as txt format can solve the issue for the future. 

BTW, do you have a clue that why some space will remain normal plain txt and the others are other formats? I am still working on wrapping some of my old notes. 

Link to comment
  • Level 5

EN uses a variant of HTML (called ENML) to code the notes. Every note practically is a mini website. Somit may be that the text is embedded into (invisible) code. I found that usually copying text and then pasting it „simplified“ or „paste and adapt format“ to a text editor strips the copied snipped from all code. Often the most basic editor does the best job on this, because it has not HTML interpreting capability, that many advanced editors today have by default.

  • Like 1
Link to comment

Thank you. Glad to know these information.

But the code lines copied from gVim/sublime have this issue too. I also want to ask why these spaces in legacy can be copied out as plain txt but not in V10? Because the ENML format is changed? I usually directly typed in these codes with legacy versions of Evernote (mostly in V4 to V6 I guess). Evernote was a light txt editor for me when I do not want to use vim.  It worked well until V10. 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...