7stud -- wrote in post #991873:
> ---
> contents of data.db:
> --- "a \xE2\x82\xAC symbol"
>

I changed the string, so the contents of data.db are actually:

--- "a Euro symbol: \xE2\x82\xAC"

-- 
Posted via http://www.ruby-forum.com/.