I have the following numeric bytes that I would like to find out the character representation for, where/how do I do this?
239 187 191 104
I have the following numeric bytes that I would like to find out the character representation for, where/how do I do this?
239 187 191 104
Call chr method on each of these:
[239, 187, 191, 104].map(&:chr)
#=> ["\xEF", "\xBB", "\xBF", "h"]
# tilde, the last printable character
126.chr
#=> "~"
I think starting 127 would be non-standard chars