fix rb2 encoding issue with last commit - issue #262