3

Hi community: I'm working with Cucumber in another language different than English.

When I generate the Step Definitions it displays a message over the void method

Non-ASCII characters in an identifier 

This is the Step Definition sample.

@Y("^se despliega un menĂș lateral con diferentes opciones$")
   public void seDespliegaUnMenĂșLateralConDiferentesOpciones() {}

What should I do in this situation?

nosequeweaponer
  • 511
  • 10
  • 38

1 Answers1

6

This is an inspection generated by IDEA (presumably). It intends to guard against possible complications related to character encoding. However as you are using Cucumber in a language other then English you will be dealing with these anyway. This makes the warning superfluous.

You can turn the warning off by selecting the method name, pressing Alt-Enter and from the menu search for the "Edit Inspection Profile Option".

M.P. Korstanje
  • 10,426
  • 3
  • 36
  • 58