I''m trying to make a digital firm with SHA1 but i have problem with
some
characters.
Digest::SHA1.hexdigest("#{@league.name}.#{current_user.name}.#{@num_scores}")
When @leagues.name is for example "así" the firm generated is not
correct. I think the "í" makes a mess with this.
Can you help me please?
--
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 post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---