Merge pull request #1253 from rouault/floating_point_irreversible_encoding