Use encoding constant instead of string

apparently breaks 1.9.2
i hate charachter encoding!