I'm not speaking about the encoding issue but about the exception rescue
issue.
Imagine I would like to handle unique key exceptions for instance.
On Monday, April 20, 2015 at 5:53:05 PM UTC+3, Ruby-Forum.com User wrote:
>
> Hi there , i don't know if that will help you , but i did have this kind
> of encoding problem with my database few weeks ago.
>
> I solved it by running this query on my DB:
>
> update database set encoding = char_to_encoding('UTF8') where datname =
> 'thedb'
>
> >>Any advice would be highly appreciated.
>
> This is one , maybe not your problem's solution :/
>
> see you
>
> Tanguy
> ps:English is not my mother tongue
>
> --
> Posted via http://www.ruby-forum.com/.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/53b41eb5-9f78-474c-a02e-89449ff6b1c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.