Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding issue #64

Closed
aL3xa opened this issue Jun 14, 2012 · 5 comments
Closed

Encoding issue #64

aL3xa opened this issue Jun 14, 2012 · 5 comments

Comments

@aL3xa
Copy link

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.

@langalex
Copy link
Owner

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

@aL3xa
Copy link
Author

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?

@langalex
Copy link
Owner

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

@aL3xa
Copy link
Author

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 as completed Jul 7, 2012
@langalex
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants