Encoding problem with rails migration

Hi to everyone here !!!

Here is my (dummy) problem: when I populate my newly created DB, Ruby (aka "rake db:migrate") detects "syntax errors" because of the extended chars I use. When I replace those "extended chars" with the same without accents (eg "...é" -> "...e"), I have no error.

I must say that this error only occurs when the "extended ascii char" is the last one of the constant. When it's in the middle of the string, no error occur in ruby.

Sample : @cat96 = Category.create :label => "agences de publicité"

Would you have any idea of my problem ? If you anwser "'t's 'coz u french!", It won't help me a lot :slight_smile:

Georges