You can try modifying "iwpt_compile.ipl " file to support the encoding of special characters you are trying to display on the page.
Hi All,I have a situation where my client requirement is to have special character in tpl as mentioned below:MonégasqueWhen I try to preview or generate the DCR, it display me the below error message:"An error occurred during PT compiling. Please see more details in log files."Could anyone please provide me the suggestions and workaround to resolve this issue?Current environment: TS6.7.1, OD6.1, Solaris9Regards,Ace
Hi All,I have a situation where my client requirement is to have special character in tpl as mentioned below:<iw_value name='xyz'/><bold>Monégasque</bold>When I try to preview or generate the DCR, it display me the below error message:"An error occurred during PT compiling. Please see more details in log files."Could anyone please provide me the suggestions and workaround to resolve this issue?Current environment: TS6.7.1, OD6.1, Solaris9Regards,Ace
I am not expecting any modification to be done for special character in tpl (neither hash codes nor html code nor ASCII code). By doing this I would then first have to get the ASCII code conversion content via VFE or other medium. This is not my requirement.
Let me summarise the issue again:My client requirement is that whatever the content is written in TPL should be any special character languages (Arabic, French, German, Spanish etc.). Now if I write the special character content in TPL it basically throws an error message on preview or generation of the DCR.I have suggested him to use ASCII code or hash code to maintain the content in CMS, though at times he will be updating the language content himself, so he does not wants to play around with 1. copy the content in VFE to generate the hash code or ASCII code.2. it will be time consuming for him to enter the data.So he wants to have the flexibility in TS so that it can support special character in TPL and should not throw error messages on preview or generation of DCR.Hope this scenario will help you understanding my situation and clients requirement.Regards,Ace
I even tried that but no success.
See if encoding may help, like [post=103379]here[/post]. Note that this thread is about inline, in your case you may want to try it from iw_perl Tag.
Hi Bo,I used the below mentioned snippet to make this working [...] But still no success...
Hi All,It is PT compilation error. I tried using iw_pt tag as <iw_pt encoding="ISO-8859-1" /> which actually provided me the flexibility of using the special charater in template without any hash code or ASCII code and giving result in desired format.I am now closing this thread considering it as resolved.Thanks for all your valuable comments and suggestions.Regards,Ace
Use non-XML Templates
Hi Bo, Could you please help me in understanding, what do you mean by "Use non-XML Templates"?Regards,Ace
There are actually two PT Coding modes, XML and non-XML. In non-XML mode you either start your PT with the closed iw_pt Tag (my personal preference) or drop iw_pt Tag altogether. You can still use IWOV Tags, the difference is in parsing. Your PT no longer has to be well-formed, CDATA is no longerneeded, etc,Take a look at the following help Page for some details:http: //Your_TS_Server/iw/help/tst/pt/TeamSite__PT__iw_pt.html