descala/haltr — Issue #17: invalid multibyte char (US-ASCII)
Author: kirantpatil
Created: 2011-12-02 13:12:38+00:00
State: open

System information:
-----------------------------
ubuntu@gtt-ubuntu:~/chiliproject$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
ubuntu@gtt-ubuntu:~/chiliproject$ rails -v
Rails 2.3.14

Error while installing gems:install:
----------------------------------------------
ubuntu@gtt-ubuntu:~/chiliproject$ rake gems:install RAILS_ENV=production
rake aborted!
/home/ubuntu/chiliproject/vendor/plugins/haltr/vendor/plugins/iso_countries/lib/country_list.rb:7: invalid multibyte char (US-ASCII)
/home/ubuntu/chiliproject/vendor/plugins/haltr/vendor/plugins/iso_countries/lib/country_list.rb:7: invalid multibyte char (US-ASCII)
/home/ubuntu/chiliproject/vendor/plugins/haltr/vendor/plugins/iso_countries/lib/country_list.rb:7: syntax error, unexpected $end, expecting ')'
:ax => N_("Åland islands"),
^
Solution:
------------
I changed the multibyte character from country name as ":ax => N_("Aland islands"),". Now it works but I need to change all multibyte characters to singlebyte character from country_list.rb.

Do we have any other solution ?

Thanks,
Kiran.