Ok, i found a fix for this, using Iconv lib, and it seems to work 
correcty.

But i still get an issue with accented character. If i get a surname 
with accented character, like "Cédric", Iconv returns me "C'edric". I've 
got similar problems with every accented character.

I read somewhere that i had to set $KCODE = 'utf8', but it didn't do the 
trick. And i really need those accented character, so i can't convert 
them into their similar letters (ie.: [éèêë] => e)

Thanks per advance.
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to