./++++++.rb:6:in `split': invalid byte sequence in UTF-8 (ArgumentError)
from ./++++++.rb:6:in `block in <main>'
from ./++++++.rb:5:in `each'
from ./++++++.rb:5:in `<main>'
so i remember this kind of errors with python, so i searched in google and put the normal encode solution in the script:
didn't work :\ so in some page said that the problem was not ruby or the encoding in the script but the terminal encoding so i have to put the correct enconding in the profile file and that worked !!
how did i get the encoding type