If file contains UTF-8 multibyte characters Hexagony behaves differently on Linux and Windows because default encoding on Linux is UTF-8, and on Windows it's something else.
On Linux it treats those characters atomically, on Windows each byte is treated separately.
As I/O is done byte-wise I assume interpreter on Linux behaves not as intended.
It can be fixed by reading in binary mode, something like File.open(ARGV[0],"rb").read instead of ARGF.read in interpreter.rb.
If file contains UTF-8 multibyte characters Hexagony behaves differently on Linux and Windows because default encoding on Linux is UTF-8, and on Windows it's something else.
On Linux it treats those characters atomically, on Windows each byte is treated separately.
As I/O is done byte-wise I assume interpreter on Linux behaves not as intended.
It can be fixed by reading in binary mode, something like
File.open(ARGV[0],"rb").readinstead ofARGF.readin interpreter.rb.