Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Taxonomy Order by custom does not work as expected with accented words (Spanish special characters)

Started by Jose 5 years ago · 0 replies · 492 views
5 years ago

Hello
In Spanish, cars = automóviles as you can see the o is accented with special character over it. If I use it, no matter which place I place the word, it goes to the end, if I use normal o not ó the custom ordering works fine, but it will be a misspelling of the word in Spanish, Can I use accented words in taxonomies and how can I order them well?
Thanks

YAML
taxonomy: 
    productos: aceites
content:
    items:
       - '@taxonomy.vehículos': automóviles
       - '@taxonomy.vehículos': camiones
       - '@taxonomy.vehículos': moto
    order:
        by: custom
        custom:
          - automóviles
          - moto
          - camiones

Please note that It works fine if I place the right order in items and I delete all the order instructions, despite the accented character, but I wonder why the order does not work with accented characters.
Regards.

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 1 week ago
0 143 1 week ago
General · by lynbor, 1 month ago
3 459 2 weeks ago
General · by lynbor, 3 weeks ago
7 596 2 weeks ago
General · by Harry, 2 weeks ago
0 180 2 weeks ago
General · by Old Man Umby, 1 month ago
2 322 4 weeks ago