// Project: Unicode // Module: unicode1 // Source code file: Main.java // Create a UTF-8 encoded file that contains // these Unicode characters: Greek alpha, // Greek beta, Greek gamma, Hebrew aleph. import java.io.*; public class Main { public static void main(String[ ] args) throws FileNotFoundException, UnsupportedEncodingException { PrintWriter pw = new PrintWriter( new java.io.File("unicode.txt"), "UTF-8"); pw.println("\u03b1\u03b2\u03b3 \u05d0"); pw.close( ); } }