You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numbers such as 402637 converted to Unicode characters such as ☷.
It is caused by incorrect regex pattern in TelegramBotManager.java, line 189: Pattern p = Pattern.compile("(\\w[0x])([\\da-f]{4,5})", Pattern.CASE_INSENSITIVE);
I replaced it with Pattern p = Pattern.compile("(0x)([\\da-f]{4,5})", Pattern.CASE_INSENSITIVE);
and it perfectly works with TeamCity 2021.1.2. To send ☷ I can just print it as 0x2637 in FreeMarker template.
It might be helpful to fix this in the project code.
The text was updated successfully, but these errors were encountered:
Numbers such as 402637 converted to Unicode characters such as ☷.
It is caused by incorrect regex pattern in TelegramBotManager.java, line 189:
Pattern p = Pattern.compile("(\\w[0x])([\\da-f]{4,5})", Pattern.CASE_INSENSITIVE);
I replaced it with
Pattern p = Pattern.compile("(0x)([\\da-f]{4,5})", Pattern.CASE_INSENSITIVE);
and it perfectly works with TeamCity 2021.1.2. To send ☷ I can just print it as 0x2637 in FreeMarker template.
It might be helpful to fix this in the project code.
The text was updated successfully, but these errors were encountered: