[Rails] Re: Encoding Issues Seeds.rb

2012-03-13 Thread Maxus
Hi All, I tried everything and was going mad. I discovered redownloading the file and replacing my existing one fixed it after putting the utf header in. My guess is editing the file on windows somehow stuffed up the encoding (surprise surprise!). Thank you everyone for their help! -M On Monda

Re: [Rails] Re: Encoding Issues Seeds.rb

2012-03-12 Thread Miquel Cubel
Hi,     Try to reconvert the file with "iconv -f UTF-8" and add "# encoding: utf-8" to the first line     In case isn't working I will suggest to review the encoding of the database and maybe to force it with "encoding: UTF8"     Regards,   

[Rails] Re: Encoding Issues Seeds.rb

2012-03-12 Thread Maxus
Hi Juan, I have tried that, still recieve the same error. Also noticed running the seed on heroku also throws the same error. Any other suggestions? Thanks! Maxus On Monday, March 12, 2012 6:55:32 PM UTC+8, Juan Pablo Avello wrote: > > > El lunes 12 de marzo de 2012 11:38:24 UTC+1, Max

[Rails] Re: Encoding Issues Seeds.rb

2012-03-12 Thread Juan Pablo Avello
El lunes 12 de marzo de 2012 11:38:24 UTC+1, Maxus escribió: > > Hi All, > > I rebuilt my enviroment on linux, still the same issue occours. Any one > have any idea whats going on? > > Thanks! > Maxus > > > > On Monday, March 5, 2012 4:21:44 PM UTC+8, Maxus wrote: > >> Hi People, >> >>

[Rails] Re: Encoding Issues Seeds.rb

2012-03-12 Thread Maxus
Hi All, I rebuilt my enviroment on linux, still the same issue occours. Any one have any idea whats going on? Thanks! Maxus On Monday, March 5, 2012 4:21:44 PM UTC+8, Maxus wrote: > Hi People, > > Im running the seed.rd for the countries from here: > https://github.com/wdblair/Rails-S