
Is the plan to fix this encoding in the endpoint, or do we want to do it on the client side?
I was thinking in the client, but I really haven't looked at exactly what is coming from the API and ES.
I think the correct approach would be to correct this in the API.
In an ideal world, the above screenshot might look like the following:
english should be English, or English (American)spanishespanol should be Spanish (Español)germandeutsch should be German (Deutsch)frenchfrancais should be French (Français)japanese%e6%97%a5%e6%9c%ac%e8%aa%9e should be Japanese (日本語)
Available fields: https://developer.wordpress.com/elasticsearch-post-doc-schema-v2/#es-mapping-post-tags
Fixed in #14437.
Most helpful comment
I think the correct approach would be to correct this in the API.
In an ideal world, the above screenshot might look like the following:
englishshould beEnglish, orEnglish (American)spanishespanolshould beSpanish (Español)germandeutschshould beGerman (Deutsch)frenchfrancaisshould beFrench (Français)japanese%e6%97%a5%e6%9c%ac%e8%aa%9eshould beJapanese (日本語)