Author | Message | Time |
---|---|---|
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? https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=4150;start=msg34349#msg34349 Thanks | December 11, 2003, 5:22 PM |
Kp | [quote author=thetempest link=board=2;threadid=4178;start=0#msg34794 date=1071163338] 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? https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=4150;start=msg34349#msg34349[/quote] 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. | December 11, 2003, 5:31 PM |
iago | You can probably find information on UTF-8 encoding in an RTF. | December 11, 2003, 5:38 PM |
thetempest | ok, thanks | December 11, 2003, 5:44 PM |