How to replace characters in a string automatically?
#1

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.
Reply


Messages In This Thread
How to replace characters in a string automatically? - by LTomi - 17.10.2009, 13:38
Re: How to replace characters in a string automatically? - by dice7 - 17.10.2009, 13:47
Re: How to replace characters in a string automatically? - by MenaceX^ - 17.10.2009, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)