© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
Project B

Switch from UTF-16 to UTF-8 for ProtoBuf

I am making a program where i am serializing a lot of string data to a ProtoBuf file. I want to use UTF-8 rather than (what i think is) UTF-16. I have no idea how to do this or if it even is possible in any moderately easy way.
I am using Visual Studio Community and .NET 8.0
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Using UTF-8 encoding
C#CC# / help
2y ago
How to convert text to utf-8
C#CC# / help
2y ago
Docker - .NET 8.0 UTF-8 Problem
C#CC# / help
2y ago