π½πΉπΏππ°π½π³π:Bleakgh/GSC
import java.util.Scanner;
class GSC
{
public static void main(String args[])
{
Scanner input = new Scanner(System.in);
String latinstring = "!";
int repeat = 1;
while (repeat != 0)
{
latinstring = input.nextLine();
latinstring = latinstring.toLowerCase();
latinstring = latinstring.replace("[][]","\u2022");
latinstring = latinstring.replace("((900))","\ud800\udf4a");
latinstring = latinstring.replace("\u014D","o");
latinstring = latinstring.replace("\u0113","e");
latinstring = latinstring.replace("\u00E1","a");
latinstring = latinstring.replace("\u00EF","i");
latinstring = latinstring.replace("th","\u00FE");
latinstring = latinstring.replace( "((90))", "\uD800\uDF41");
latinstring = latinstring.replace( "a","\uD800\uDF30");
latinstring = latinstring.replace( "b","\uD800\uDF31");
latinstring = latinstring.replace( "g","\uD800\uDF32");
latinstring = latinstring.replace( "d","\uD800\uDF33");
latinstring = latinstring.replace( "e","\uD800\uDF34");
latinstring = latinstring.replace( "q","\uD800\uDF35");
latinstring = latinstring.replace( "z","\uD800\uDF36");
latinstring = latinstring.replace( "h","\uD800\uDF37");
latinstring = latinstring.replace( "\u00FE","\uD800\uDF38");
latinstring = latinstring.replace( "i","\uD800\uDF39");
latinstring = latinstring.replace( "k","\uD800\uDF3A");
latinstring = latinstring.replace( "l","\uD800\uDF3B");
latinstring = latinstring.replace( "m","\uD800\uDF3C");
latinstring = latinstring.replace( "n","\uD800\uDF3D");
latinstring = latinstring.replace( "j","\uD800\uDF3E");
latinstring = latinstring.replace( "u","\uD800\uDF3F");
latinstring = latinstring.replace( "p","\uD800\uDF40");
latinstring = latinstring.replace( "r","\uD800\uDF42");
latinstring = latinstring.replace( "s","\uD800\uDF43");
latinstring = latinstring.replace( "t","\uD800\uDF44");
latinstring = latinstring.replace( "w","\uD800\uDF45");
latinstring = latinstring.replace( "f","\uD800\uDF46");
latinstring = latinstring.replace( "x","\uD800\uDF47");
latinstring = latinstring.replace( "v","\uD800\uDF48");
latinstring = latinstring.replace("\u0195","\uD800\uDF48");
latinstring = latinstring.replace( "o","\uD800\uDF49");
System.out.println(latinstring);
System.out.println("again?");
repeat = input.nextInt();
if (repeat == 1)
{
latinstring=input.nextLine();
}
}
}
}
Also, see the usage page.
also see my Gothic Number Converterdoc.