|
Project Information
Links
|
JKhmerConverter is able to convert legacy Khmer font to Khmer Unicode, and Khmer Unicode to legacy Khmer font. I build this project in order to contribute with open source community in Cambodia, and ShareVisionTeam. This project is converted from http://unicode.codeplex.com that built in C# 3.5 . Due to there is no Khmer Unicode Converter API for Java developer, I have spent my free time to build it up and it's developed in Java 6.
Snippet code as below: package org.gecko.khmer; public class Main { public static void main(String args) {
String str = "eRs‘og";
LegacyToUnicode legacyToUnicode = new LegacyToUnicode();
System.out.println(legacyToUnicode.convert(str, "Limon S1"));
}
}
Author: LEEjava Blog: http://leejava.wordpress.com
|