ggtracker / ggtrackerstack

Project to run the whole ggtracker stack in vagrant
20 stars 10 forks source link

Block or properly handle weird replays with non-standard races #56

Open dsjoerg opened 7 years ago

dsjoerg commented 7 years ago

In this replay: http://sc2replaystats.com/replay/3848059 The race comes through to us not as P but П. I understand that's Cyrillic for P, but it never happened before and screws up our game processing. How many other languages will start coming in?

Here are the non-standard race counts so far:

C   34
H   2
З  37
П  57
Т  32

And the thing that looks like a T is actually not the standard Latin alphabet T it's some other crazy thing.

dsjoerg commented 7 years ago

I handled the immediate problem with https://github.com/dsjoerg/ggpyjobs/commit/e117ff6de5104256fceee1b4b1ade1217a425ee9 but we could use a more comprehensive fix for other languages that may show up in the future.