If you are facing issue with display of Non-English characters in your site/ page then you can check following things-
a. Go to OSGi configuration console (http://localhost:4502/system/console/configMgr) and search for "Apache Sling Request Parameter handling" Service
b. Change Encoding to "UTF-8"
c. If changing this does not work then try restarting AEM after this change.
d. In worst case, you can apply the encoding to the property directly:
new String(str.getBytes("ISO-8859-1"),"UTF-8"); Where str is the property string
1. Change Request Parameter Encoding
a. Go to OSGi configuration console (http://localhost:4502/system/console/configMgr) and search for "Apache Sling Request Parameter handling" Serviceb. Change Encoding to "UTF-8"
d. In worst case, you can apply the encoding to the property directly:
new String(str.getBytes("ISO-8859-1"),"UTF-8"); Where str is the property string
No comments:
Post a Comment