I’m a beginner in Java programming language, and I have a problem that I don’t know how to solve. I need to represent special characters like “Ψ”, “∑”, “Θ”, “Ξ”, “,”, “ß”.
how can I do it?
Update: Thanks for the answers, sorry for not detail a little bit more the question, so here i go.
I’m trying make 7Bit alphabet, this is for encoding PDU for sent “SMS”.
http://pastebin.com/NtY1aWTR Here the class in java.
If the user enter character the method handle the value in 7Bits from the HashMap.
For example :
If the user enter ” Votaguz ”
The result is: 1010110 1101111 1110100 1100001 1100111 1110101 1111010
But when the user try write something how : ” Θ ” [OMEGA]
The Answer is: null null
Well those chars are in the unicode charset, so you can use them as is in your application. You might want to give additional informations and a use case to have a more precise answer.
Resources :