
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;

public class ChkChar{

	//private static char TARGET='\u2029';
	private static char TARGET='\u0101';

	private static final String ENC="UTF-8";



	public static void main(String[] args){

		if(args.length!=1){
			System.exit(0);
		}

		File f=null;

		if(args.length>=1)
			f=new File(args[0]);

		try{
			BufferedReader br= new BufferedReader(new InputStreamReader( new FileInputStream(f),ENC));

			String line=null;
			while( (line=br.readLine())!=null ){
				for(int i=0; i<line.length(); i++){
					if(TARGET==line.charAt(i)){
						int code=(int)(line.charAt(i));
						System.out.println("Found : "+Integer.toHexString(code) );
						System.out.println(line);
					}
					else{
						//System.out.println(line.charAt(i));
					}
				}
			}
			br.close();
		}
		catch(Exception ex){
			ex.printStackTrace();
		}
	}
}

