Error when pasting from jGrasp to OneNote then back to jGrasp - Java -


this first time post stack on flow. so, i'm having techinical problem when copying code onenote.

so, watch video lectures professor has on youtube, , create copy of code on jgrasp on mac, copy onenote 2016 store future reference. well, other day tried copy code jgrasp onenote, , when try compile it, following error, 15 times:

mathfun.java:2: error: illegal character: '\u00a0' {   ^

i have found way around - if copy textedit first, doesn't have formating, , onenote, , jgrasp, works.

so,

jgrasp --> onenote --> jgrasp

= error

jgrasp --> textedit --> onenote --> jgrasp

!= error (no error)

i can use work around, way nice if didn't have retype code have written run in jgrasp again. susjestions?

thanks.

p.s.: code example:

public class mathfun {       public static void main (string[] args)    {        system.out.println("test.");     }  } 

that character non-breaking space, onenote substituting ordinary spaces. try "edit" > "paste special" in jgrasp , see if plain text paste avoid this. otherwise, find , select 1 of non-breaking spaces (looks space, shows code 160 in message bar) ctrl-f , replace regular spaces.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -