From: "Michael W. Ryder" <_mwryder@...> Date: 2007-06-09T08:20:19+09:00 Subject: Re: RoR Problems with special Character in the model Joachim Reichel wrote: > Hi all, > > after two hours of googling I'll ask you ;-) > > I have an ActiveRecord class which I extended with a method that returns > an array of strings as categories. > One string has a special character in it. > When the class is used there is an error: > parse error, unexpected tCONSTANT, expecting ']' > > When the special character is removed or replaced by ue everything works > fine. > > Part of the code: > > def rubriken > rubriken= > [ > ["Grundst�cke","Grundst�cke"] > ] > end > > The source file itself is encoded in utf-8. > > Any ideas ? Have you tried using "Grundst\232cke" instead of "Grundst�cke"?