resolves #1210 print encoding information in version output

- print encoding information in version output (Ruby >= 1.9.3)
- pull version output to method
Merge pull request #1215 from mojavelinux/issue-1210

resolves #1210 print encoding information in version output