Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
now, binary encoding needed
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Dec 2, 2010
1 parent 7bf1fd1 commit ffd1d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions luac2pir.pir
Expand Up @@ -58,6 +58,7 @@ luad
.local pmc fh
.local string content
fh = new 'FileHandle'
fh.'encoding'('binary')
push_eh _handler
content = fh.'readall'(filename)
pop_eh
Expand Down
1 change: 1 addition & 0 deletions luad.pir
Expand Up @@ -64,6 +64,7 @@ L<http://luaforge.net/projects/chunkspy/>
.local pmc fh
.local string content
fh = new 'FileHandle'
fh.'encoding'('binary')
push_eh _handler
content = fh.'readall'(filename)
pop_eh
Expand Down

0 comments on commit ffd1d8a

Please sign in to comment.