Fix a weird encoding-related test problem on MRI 2.0.0.