Encoding issue #64

aL3xa opened this Issue Jun 14, 2012 · 5 comments


None yet

2 participants

aL3xa commented Jun 14, 2012

AFAICS, CouchPotato doesn't allow the usage of UTF-8 characters. If I try to set, say "šđčćž" as a title of my document, I get invalid field.


I can promise you I'm using it with UTF-8 all the time. What Ruby/(Rails) version are you using?

aL3xa commented Jun 15, 2012

I'm using rvm FWIW.

al3xa@quickie ~$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
al3xa@quickie ~$ rails -v
Rails 3.2.5

And I have config.encoding = "utf-8" in config/application.rb. Any ideas what may have caused this?


can you paste me the backtrace and the code that causes it?

aL3xa commented Jul 7, 2012

Sry, this was 100% my fault. After doing some introspection and a really small debugging, I found out that my validation rules were not allowing unicode chars. My bad, your software rocks, sry! =/

@aL3xa aL3xa closed this Jul 7, 2012
langalex commented Jul 7, 2012

no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment