Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
VisualFormat and escaped characters
vahu
Hi,
When one change mode to html-view in a visualFormat field, containing foreign language (japanese, chinese) characters, these characters are escaped. Is there a way to avoid this ?
Find more posts tagged with
Comments
Lex
There is probably some setting in the visualformatconfig.xml file that controls this (I'm thinking the <clean> element and, specificly, the charencode attribute, but I may be way off base on that). Have you checked on
Ektron's website
to see if there's anything in the KB regarding this? I've actually had pretty good success there when I have questions about the VisualFormat control.
Darryl
taiyo
I've tried changing the attribute charencode in my visualformatconfig.xml file to utf-8, binary, charref, special, and latin
in the following line of code:
<clean charencode="entityname" cr="cr" lf="lf" showonsize="5000" preferfonttag="false" reducetags="true">
unfortunately NO LUCK.
I'm wondering if this problem is corrected if the client Operating System is set to Japanese???
Migrateduser
This may or may not be your problem, but on the DevNet webcast hosted by Ektron, they discussed the need for the op sys language to match the language of the display.
See slide 15 in the pdf at this location:
http://devnet.interwoven.com/site.fcgi/webcasts/docs/webcast-recordings.html#webcast04-0
Regards,
lissa
taiyo
Thanks for the PDF. Without listening to the recording it appears that this is exactly my problem.
The slide says:
1. To display Japanese characters in source, the operating system must be Japanese Windows or Windows whose default system language is set to Japanese.
2. Change visualformatconfig.xml to
<viewas ... unicode="true">
I have done both of these and still see the "?" when I switch to the code view in the Visual Format field. (SEE Attachment).
I also filed a case with Interwoven and the response I received was:
"It looks like the double byte characters are still being stored as charrefs in 6.1 (I tested this prior to emailing you in case Ektron changed something in their newer release of the editor)."
So i think the slide must be wrong or i'm still missing something there. One thing to note is that I've also tried to change the charencode value to "utf-8", "special", and "charref" and no luck.
thanks,
taiyo
DougD
The unicode="true" is correct. This is confirmed by the fact that "?" appear instead of character references when viewing source.
I suspect that the OS does not fully support Japanese. The OS needs to be native Japanese or the default system language (e.g., with Windows 2000). Setting the locale is not sufficient.
See these Ektron KBs:
HOWTO: change language settings in Windows 2000
http://www.ektron.com/developers/ewebeditpro_tutorials.cfm?id=511&terms=operating%20system
PRB: Questions marks appears on toolbar and in dialogs
http://www.ektron.com/developers/ewebeditprokb.cfm?id=496
taiyo
You are absolutely correct! I just installed a VMWare image of a native japanese Win2k OS and it worked. Thanks for making this clear to me!