thekidxxx Lazy Poster
Posts : 1 Join date : 2009-06-03 Location : Not In My Right Mind.
| Subject: (Client[317]) Simple way for typing ascii codes Wed Jun 03, 2009 6:32 pm | |
| Been about 3-4 years seance I last wrote a tutorial.don't be to mean ...//For Ever latter// This is more of a how to then a tut <.< First all open you Client.java (Ctrl + F)Search for - Code:
-
public final void method73(int i) Below that you should see something like this - Code:
-
for(int james = 0; james < badWords.length; james++) { String bad = badWords[james]; if(aString887.contains(bad)) aString887 = aString887.replaceAll(badWords[james], "***");
} You will be adding this to it - Code:
-
aString887 = aString887.replaceAll("00156", "\u00a3"); aString887 = aString887.replaceAll("00173", "\u00a1"); aString887 = aString887.replaceAll("00155", "\u00a2"); aString887 = aString887.replaceAll("00021", "\u00a7"); aString887 = aString887.replaceAll("00167", "\u00a4"); aString887 = aString887.replaceAll("00157", "\u00a5"); aString887 = aString887.replaceAll("00166", "\u00a6"); aString887 = aString887.replaceAll("00169", "\u00a9"); aString887 = aString887.replaceAll("00170", "\u00ae"); And should looking something like this - Code:
-
for(int james = 0; james < badWords.length; james++) { String bad = badWords[james]; if(aString887.contains(bad)) aString887 = aString887.replaceAll(badWords[james], "***"); aString887 = aString887.replaceAll("00156", "\u00a3"); aString887 = aString887.replaceAll("00173", "\u00a1"); aString887 = aString887.replaceAll("00155", "\u00a2"); aString887 = aString887.replaceAll("00021", "\u00a7"); aString887 = aString887.replaceAll("00167", "\u00a4"); aString887 = aString887.replaceAll("00157", "\u00a5"); aString887 = aString887.replaceAll("00166", "\u00a6"); aString887 = aString887.replaceAll("00169", "\u00a9"); aString887 = aString887.replaceAll("00170", "\u00ae"); } Now when you type 00156 == £ 00173 == ¡ 00155 == ¢ 00021 == § 00167 == º 00157 == ¥ 00166 == ª 00169 == ⌐ 00170 == ¬
Need to know others encoding for others ASCII codes? http://www.fileformat.info/info/unicode/char/search.htm
Last edited by thekidxxx on Wed Dec 23, 2009 2:20 am; edited 2 times in total | |
|
Fever Owner
Posts : 329 Join date : 2009-05-06 Age : 27 Location : Unknown
| Subject: Re: (Client[317]) Simple way for typing ascii codes Wed Jun 03, 2009 6:32 pm | |
| | |
|
xtc is ftw Lazy Poster
Posts : 6 Join date : 2009-06-02 Age : 28 Location : QLD-Australia
| Subject: Re: (Client[317]) Simple way for typing ascii codes Wed Jun 03, 2009 8:49 pm | |
| | |
|
Guest Guest
| Subject: Re: (Client[317]) Simple way for typing ascii codes Thu Jun 04, 2009 11:02 am | |
| Woah, so many people helpin out serv, its turning out to be better then i thought it would be =] |
|
Dragonman Little Poster
Posts : 123 Join date : 2009-06-04 Age : 28
| Subject: Re: (Client[317]) Simple way for typing ascii codes Fri Jun 05, 2009 6:26 am | |
| | |
|
Sponsored content
| Subject: Re: (Client[317]) Simple way for typing ascii codes | |
| |
|