I've fixed the problem now.
Here's the code I used to fix it.

http://stackoverflow.com/a/9612050/337306


Sent from my BlackBerry 10 smartphone on the O2 network.
From: Jeremy Evans
Sent: Thursday, 13 August 2015 21:34
To: sequel-talk
Subject: Re: How do I change my database's encoding to UTF-8?

On Thursday, August 13, 2015 at 7:38:09 AM UTC-7, desbest wrote:
The string that is causing the problem is the £ character. I am typing it directly from my keyboard and am not copying it from anywhere else.

I put Sequel::Model.plugin :force_encoding, 'UTF-8' in my model file and it didn't fix the problem.

Unfortunately, without a self contained example (or really, any code at all), I'm afraid I won't be able to help you.

Sorry,
Jeremy

--
You received this message because you are subscribed to a topic in the Google Groups "sequel-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sequel-talk/4JyMmS6Wz5U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to