#1321 new

encoding problems with datamapper 1.0.0

Reported by no-nai-oh | June 14th, 2010 @ 01:12 PM

Hello, I've a webapp build on top of Sinatra + datamapper. Yesterday I've updated the datamapper and my app started throwing an error when I want to save a record :

incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)

I know that this it a sinatra error, but it is caused by a change in datamapper. I've downgrade and everythings is now working fine. Is it possible that the new dm-sqlite-adapter is now returning a ASCII-8BIT string when do_sqlite3 was returning a utf-8 or utf-8 compatible string ?


No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket