# Problem with some characters

**URL:** <https://www.ruby-forum.com/t/problem-with-some-characters/134614>\
**Category:** Rails\
**Created:** [April 12, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/problem-with-some-characters/134614 "2008-04-12T23:33:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![masylum](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/839c29/32.png) [@masylum](https://www.ruby-forum.com/u/masylum)\
**Post date:** [April 12, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/problem-with-some-characters/134614/1 "2008-04-12T23:33:57Z")

</div>

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?
