i trying learn encoding, please bear me.
using online encoding tool such this one, can see data
a b can represented
in ascii/ansi as:
a b in hex as:
610d0a62 in base64 as:
yq0kyg== but in java if need print data screen need use command
system.out.println("a\r\nb"); what form of encoding \r\n?
in other words, fair \r\n keyboard representation ascii
a b
it's not real encoding, escape character + character.
it used define common ascii characters not printable. list available java here.
basically \r interpreted value 0x0d or 13 in decimal, carriage return.
Comments
Post a Comment