I\'m getting a compile error at the following method.
public static boolean isValidPasswd(String passwd) {
String reg = \"^(?=.*[0-9])(?=.*[a-z])(?=.*[A-
"error: unmappable character for encoding UTF-8" means, java has found a character which is not representing in UTF-8. Hence open the file in an editor and set the character encoding to UTF-8. You should be able to find a character which is not represented in UTF-8.Take off this character and recompile.