« Return to Thread: Encoding Problem

Encoding Problem

by Ahmed Ali-2 :: Rate this Message:

Reply to Author | View in Thread

Dear All,

I have problem with displaying arabic letters....when i try to read arabic words from the properities file (messages_ar.properties), i get it as ��������� in the GSP.

Also when i try to write arabic titles in the GSP to show on the view, i get it as ��������� on the site.

Kindly please advise regarding this issue...

Note:

i have already put the below tags in all GSP:

<%@ page contentType="text/html;charset=UTF-8" %>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Also i have checked the Config.groovy file and it contains the following:

grails.views.gsp.encoding="UTF-8"

grails.converters.encoding="UTF-8"

Kindly please advise urgent.

Thanks and Regards,

Ahmed Ali

 « Return to Thread: Encoding Problem

LightInTheBox - Buy quality products at wholesale price!