I was interested in inplementing unicode support to MTA one week ago and i have some progress at this moment. I just want to ask.. is there anybody else, who also works on this MTA feature at this moment? May be we must to unite our efforts.. Just one thing, i'm PHP programmer and that is why i asking for C++ help.
In ideal way we will get unicode support, which allow to use any chars. For example, if we want to use unicode chars in lua scripts, we must to save our scripts in UTF8 encoding, that's all (:
Here is my small plan for implementing unicode support:
(done) - 100% Safety unlock of unicode symbols ranges for all of standart MTA fonts. MTA uses TAHOMA, TAHOMA BOLD, VERDANA, own SANS font, own GTA GOTHIC font, own GTA HEADER font. .
(done) - 100% Change CEGUI's chars injecting mechanism to another one, which can convert client keyboard's 1-byte keys to unicode chars (UTF16, unsigned int) knowing client's active keyboard layout. .
(done) - 100% Change CEGUI's strings displaing mechanism to another one, which can convert input text from UTF8 encoding to UTF16 (unsigned int) .
(just planned) - 0% Looking for chat displaing mechanism and add some info about chat's unicode support in this text. Only one thing i know at this moment, that in chat now we can type chars with code ranges >= 32.
Question
MX_Master
I was interested in inplementing unicode support to MTA one week ago and i have some progress at this moment. I just want to ask.. is there anybody else, who also works on this MTA feature at this moment? May be we must to unite our efforts.. Just one thing, i'm PHP programmer and that is why i asking for C++ help.
In ideal way we will get unicode support, which allow to use any chars. For example, if we want to use unicode chars in lua scripts, we must to save our scripts in UTF8 encoding, that's all (:
Here is my small plan for implementing unicode support:
Safety unlock of unicode symbols ranges for all of standart MTA fonts. MTA uses TAHOMA, TAHOMA BOLD, VERDANA, own SANS font, own GTA GOTHIC font, own GTA HEADER font.
.
Change CEGUI's chars injecting mechanism to another one, which can convert client keyboard's 1-byte keys to unicode chars (UTF16, unsigned int) knowing client's active keyboard layout.
.
Change CEGUI's strings displaing mechanism to another one, which can convert input text from UTF8 encoding to UTF16 (unsigned int)
.
Looking for chat displaing mechanism and add some info about chat's unicode support in this text. Only one thing i know at this moment, that in chat now we can type chars with code ranges >= 32.
Any good comments and C++ help will be great.
P.S.: my original language is russian
Also i want to show some test screens:
-
http://www.mxgames.kz/images/2010-05-14_222350.jpg
-
http://www.mxgames.kz/images/2010-05-16_232759.jpg
-
(new) http://mxgames.kz/images/2010-07-07_211358.jpg
-
(new) http://mxgames.kz/images/2010-07-08_104334.jpg
Edited by GuestLink to comment
25 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now