Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Puerba en c#
- using System;
- using System.Text;
- using System.Security.Cryptography;
- public class Test {
- public static void Main(string[] args) {
- byte[] bytes = Encoding.ASCII.GetBytes("araña");
- string stringBytes = BitConverter.ToString(bytes);
- Console.WriteLine("bytes : " + stringBytes);
- }
- }
- //Prueba en nodejs
- console.log(new Buffer("araña", "ascii"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement