You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ofARGF.read
in interpreter.rb.The text was updated successfully, but these errors were encountered: