We have the requirement for generating .html out of .page containing both Chinese and English Characters.
- In customised workflow, we are using 'PageConversionServlet' URL command, that comes out of the box with SitePublisher, to generate HTML pages.Please find below Sample URL for the same
- We are also injecting the charset(UTF-8) meta tag using Page Injection in same workflow code in html.
**************************************************************************************
http://hostname/iw-cc/livesite/PageConversionServlet?vpath=/default/main/toi/31/WORKAREA/shared/sites/workflow-site/index.page&destDir=html/${siteName}&suffix=.html**********************************************************
In a .page file, both Chinese and English Characters are being displayed perfectly. But in case of .html, we are facing issues for displaying Chinese characters, Some of the chineese characters come as ? in so converted html.
We are setting Character encoding for .page as an external attribute of a .page file. We tried giving these Character Encoder types: UTF-8, ISO-8859-1, Big5. using UTF-8 all the chinese characters are not coming up.
PLease suggest. If we need to add any parameter to the pageconversion servlet ? or is there any configuration that needs to be done?