RubyMine doesn't recognize norwegian characters

Hi!

I'm writing cucumber step definitions in norwegian, and RubyMine doesn't seem to recognize norwegian characters(see attached file).
What can I do to fix this..? I'm trying RubyMine for the first time today.


Silje :)



Attachment(s):
rubymine.png
2 comments

Hello Silje,

Is seems that you have 2 separate problems here:

  • norwegian characters are not recognized by RubyMine
  • norwegian is not recognized by cucumber itself


Could you please create a ticket for the first problem at: http://youtrack.jetbrains.net/issues/RUBY
In this case you'll get notified once it is fixed.
The answer for the second problem:  just add comment

# encoding: utf-8
to the top of the step implementation file.

Regards,
Oleg

0

It is actually working now :)

Upgrading from Ruby 1.8 to 1.9 did the trick!

Silje

0

Please sign in to leave a comment.