Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
utf-8 string to bytes and back
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Text; namespace Rextester { public class Program { public static void Main(string[] args) { var test = "aęėč"; var bytes = Encoding.UTF8.GetBytes(test); Console.WriteLine(bytes.Length); Console.WriteLine(Encoding.UTF8.GetString(bytes)); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
1
hivix
merge 2 sorted array
Hello world
3D Array
Full text search using Linqdb
Math Operations
Array merge
simult 3x3
Changing asp net user password
Please log in to post a comment.