"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
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.
You can probably find information on UTF-8 encoding in an RTF.
ok,
thanks