© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
MasterAirscrach
How To Catch an invalid Unicode Char
making a twitch bot but sometimes messages are terminated with a weird invalid Unicode char
\U000e000
\U000e000
i want to remove that char from the string but dont know how to catch it as
message.Replace('\U000e000', (char)32)
message.Replace('\U000e000', (char)32)
is invalid
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Inserting Unicode characters into an Oracle database-issue
C
C# / help
3y ago
How To Properly Catch An SMTPException & IOException
C
C# / help
15mo ago
❔ how do i convert a char to an int
C
C# / help
3y ago
✅ How to create char[] faster?
C
C# / help
3y ago