Search code examples
rythm

Russian text is not showing properly after rythm rendering


I have a rythm template which shows error message. Error messages can be any language such as english, spanish, geranium, russian et...

I tried to pass the following Russian text to rythm and the output i see from rythm rendering is all ??????

Это объявление должно содержать информацию о товаре из каталога Добавьте в это объявление характеристики товара

I don't have any code which encodes or decodes.Its a plain String which is passed to the template. Any help is greatly appreciated.


Solution

  • Make sure you are using utf-8 for your template source code encoding.

    Checkout http://fiddle.rythmengine.org/#/editor/68d19008800d43ab81a6f09ef29c2426