package projectmanager import java io UnsupportedEncodingE xception pu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
package projectmanager;
import java.io.UnsupportedEncodingException;
public class Manager {
public Manager() {
if(System.getProperty("os.name").toLowerCase().contains("win"))
try {
System.setOut(new CodepagePrintStream(System.out,System.getProperty("console.encoding","Cp866")) );
}catch(UnsupportedEncodingException e) {
System.out.println("System error!");
exit();
}
System.out.println("я говноед");
}
private void exit() {
System.exit(0);
}
}