Bogdan
Bogdan

Reputation: 171

how to write not-ascii symbols in symfony .yml files

Its posible to write russian/french symbols in syfony generator.yml ?

Example:

config:
  actions: ~
  fields:  ~

  fields: 
    nstars:  { label: "Моя метка" }

  list:    ~
  filter:  ~
  form:    ~
  edit:       ~
  new:     ~

throw errors.

Upvotes: 0

Views: 390

Answers (1)

Max
Max

Reputation: 121

Have you checked the file encoding? Make sure that the file encoding is set up properly. UTF-8 encoded YAML files are working fine for me.

To change the file encoding with Ubuntu use:

recode ISO8859-15..UTF8 filename

Upvotes: 2

Related Questions