String#length should return expected length even unless converter
fixed a bug Encoding#toByteArray returns empty string
fixed compile errors on SDL rendering test and test cases