All pastes #423489 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-04 06:03 UTC
rendered paste body
Scanner s =new java.util.Scanner(System.in);
			String str = s.nextLine();
			byte[] utf8Bytes = str.getBytes("UTF8");
			String roundTrip = new String(utf8Bytes, "ASCII");
			//str.
			System.out.println(str+"\n==");
			System.out.println(roundTrip);

/*
on input Curaçao=>
Curaçao
==
Cura??ao
*/