Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

related to copy formatted javacode in chrome #635

Open
uc-pal opened this issue Feb 5, 2016 · 1 comment
Open

related to copy formatted javacode in chrome #635

uc-pal opened this issue Feb 5, 2016 · 1 comment

Comments

@uc-pal
Copy link

uc-pal commented Feb 5, 2016

class Student {
int rollno;
String name;
String city;
 
Student(int r, String n, String c) {
rollno = r;
name = n;
city = c;
}
 
public static void main(String args[]) {
Student a1 = new Student(1, "Kevin", "Texas");
System.out.println(a1);
 
}
}

in java repl when i copy above code using ctrl+c then it is executing correctly , but when copied using clipboard , it is giving error illegal character: '\u00a0' . this is happening only in chrome, it is working properly in internet explorer.

@JamesMGreene
Copy link
Member

How is this error presenting itself?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants