17.10.2009, 13:38
I would like to create a new advertisement system for my server, writing the ads in a game text for everybody. It wouldn't be too hard, but there are many accentuated letters in my language, and if a player makes an ad with these letters, they doesn't appear correctly. I found a solution, if I want the game text to appear correctly, I have to replace the accentuated letters with symbols. It is easy, if I write the script, but when a player makes an ad, he/she writes the normal letters into the chatbox. So, are there any ways to replace the accentuated letters with their symbols automatically? Any help is welcome.