I ran into a problem when the structure of the game chat of cs2 got changed.
I already changed the code accordingly, but for some reason I can't seem to get these lines of code to work:
/* removal of the team-chat location info. */
if (chatType == ChatType.Team)
{
var idx = namePart.LastIndexOf('﹫'); // uFE6B
if (idx != -1)
namePart = namePart.Substring(0, idx).Trim();
}
Filtering like this works:
/* filter out the massage */
if (!l.Contains("[ALL]") && !l.Contains("﹫")) // uFE6B
continue;
This is what the line in the log looks like:
I already tried using a Unicode escape sequence, but no luck.

I'm not quite sure what you want, but you can use regex to if you want to remove that character from strings: