• Welcome to Valhalla Legends Archive.
 

UTF-8 and it's terms???

Started by thetempest, December 11, 2003, 11:22 AM

Previous topic - Next topic

thetempest

"STAR", "SEXP", "JSTR", "WAR3"???

I was reading a post on this thread, and i'm trying to decode SC's packet protocol so...ya, what exactly is UTF-8 and how can i use it to decode packets better?

http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=4150;start=msg34349#msg34349

Thanks

Kp

Quote from: thetempest on December 11, 2003, 11:22 AM
I was reading a post on this thread, and i'm trying to decode SC's packet protocol so...ya, what exactly is UTF-8 and how can i use it to decode packets better?
http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=4150;start=msg34349#msg34349

UTF8 is a method of encoding Unicode so that the data can be passed along a stream which expects null terminated bytes (i.e. a normal Unicode string wouldn't work), without losing data the way simply converting it would.

You can't use it to decode packets better, because the question doesn't make any sense.  UTF8 is used by SC/BW clients only when they're sending/receiving text which the user will be able to view.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

iago

You can probably find information on UTF-8 encoding in an RTF.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


thetempest