add encoding lines for ruby1.9