Rational:
After decoding HEX into utf8 in my previous post, In this post, i'm looking at adding support for multiple languages in unity which might have been sent embedded in the blockchain data.
While currently blockchains are viewed mostly related to currency systems and are perceived with mix of views. through this project, I'm rather questioning how blockchains can be used in forms of arts, games, and digital use-cases for data and digital permanency.
Context:
I have been discussing the use-case of embedded data in blockchain providing an immutable free form of speech and way to store data-messages in a very secure way such that they last as long as the chain and internet exist and cannot be replaced by the creator or any centralized power. (( view previous posts for full context for the art.))
During the development, I've found some interesting messages in the chain. For the sake of development, I'm using the address from this industry famous story. The interface I've developed till now provides a very easy way to view all messages in an address chain, which is very cumbersome if one tries to view it in blockchain explorers. and can serve as a very useful tool for blockchain data visualization.
>
Method
Unity Strings , characters , font systems, TextMeshPro etc...
font support for languages -
However, even after adding the support an issue remains where unity is unable to display chinese characters, as seen in photo below, when it comes directly through the api and after I convert the HEX from api to UTF8. However if I copy that nonesensical computer text, and paste it in notepad or google manually it shows as chinese (some magic which windows does!!) and english is shown well too which makes me think hex is converted properly. I've tried bunch of things but the issue remains open.. as of now..
selected ref:
- Textmeshpro - font asset creation - https://www.youtube.com/watch?v=NY1xKqCIj3c
- textmeshpro - multi language support : https://www.youtube.com/watch?v=pLW2B98W5AU
https://www.youtube.com/watch?v=qzJNIGCFFtY tmp - font asset creation
-table of general chinese charcters - unity: http://hanzidb.org/character-list/general-standard
https://forum.unity.com/threads/table-of-general-standard-chinese-characters.559882/
https://forum.unity.com/threads/needs-unicode-support.483802/
https://en.wikipedia.org/wiki/List_of_Unicode_characters
https://forum.unity.com/threads/chinese-traditional-simplified-and-english-text-looks-blurred.593098/
full windows character sets - https://docs.microsoft.com/en-us/windows/win32/intl/character-sets
https://docs.microsoft.com/en-us/windows/win32/intl/double-byte-character-sets
https://home.unicode.org/ - unicode emoji charcodes