© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
18 replies
McMahone

base64 encoding csv string

Hi, currently working with encoding a csv string file to base64, but Convert.Tobase64String gives different result than the base64 extension I use on Vscode. The method adds extra characters and two "=" at the end for padding. The extension from the Vscode is the correct one for my application, which only adds single "=" at the end without adding three extea characters (Both in UTF-8 format)
Am I doing something wrong or is it possible to encode in different ways?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ X509 Certificate from base64 string
C#CC# / help
4y ago
❔ Encoding Confusion and string variables
C#CC# / help
3y ago
✅ Base64
C#CC# / help
14mo ago
❔ Blazor - MarkupString rendering <img> tag w/ base64 image encoding as text
C#CC# / help
3y ago