Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Convert from one encoding to another
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 s = Console.In.ReadToEnd(); var fr = Encoding.GetEncoding("Windows-1251"); var b = Encoding.Convert(fr, Encoding.UTF8, Encoding.Unicode.GetBytes(s)); Console.WriteLine(Encoding.UTF8.GetString(b)); } } }
run
|
edit
|
history
|
help
0
D111
test
Store reference to a object
Event test
first index of a substring in a given string
Non Generic object based class
contraseña
How to count the occurrence of each character in a string?
11.10
Expand Treeview Job Entry