[Vuejs]-Vue – Handle non English characters in an attribute

0👍

You can use the v-html (wiki) directive. If you have the correct charset it should work fine. But be careful with this directive. XSS attacks can be very dangerous.

Hope it fixes your problem.

0👍

I was facing the same issue in vue-router for non english characters (ex: Persian), the solution is to use decodeURI('Categoría').

Leave a comment