Simulation Project Topic: Unicode
The goal of the project is to create an application that is capable of turning a Unicode value into its equivalent UTF-8, UTF-16, and UTF-32 value.
- Alon-alon, Jason Miguel
- Cruz, Julianne Felice
- De Guzman, Cyril Ethan
- Escalona, Jose Miguel
- Rebong, Leana Hyacinth
- Roncal, Raphael
- Turk, Chadi
- Either in Java (GUI), Web (GUI), HDL, C, C , Python.
- OOP languages and Python must be submitteed as an executable file.
- Demo will be asked for when needed.
- Provide a readme file containing user’s manual on how to use your apps.
- Input: Unicode (with invalid Unicode Check).
- Output: UTF-8,UTF-16,UTF-32(format: xx xx xx; where x is a hex nibble).
- Additonal Functionality: Output with option to paste result in notepad.
- Uses Java language to make use of its built-in number conversion methods.
- Eclipse IDE was used for the Unicode engine part of the project but I think you can use Visual Code (and the likes) as well.
- Directory path for Java files: Simulation>src>simulation.
- Simply open and modify Driver.java's test() for testing however way you'd like.
- Currently the output values are hexadecimal raw, lowercased, with prefix for Java(0x), without spacing and division. Recommended to arrange output values before use.
- JS version also implemented for web app implementation. (Found in Simulation>js)
- You may check output accuracy on this website [https://r12a.github.io/app-conversion/]
- For checking unicode validity, determine if it is only hexadecimal and if it is within each UTF values range of acceptable inputs by converting to decimal equivalent.
Java
- Long - https://docs.oracle.com/javase/7/docs/api/java/lang/Long.html
- Character - https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html (Prefer to use when converting a characer directly instead of its Unicode value.)
JS