fixed #29 ; Suppress invalid encoding warning.