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)
<b>Problem with Encoding while setting Metadata</b>
pravi
Hi,
I am trying to set an Item value from DCR as its Metadata after reading in its value tpl.(presentation)
I am using a UTF - 8 Encoding in my datacapture as well in my tpl.
The value i am reading is a Text item.. when i out put the value it is showing proper value. but when i set same as attribute of DCR i am facing follwing Problem.
Any Special Chracters in Item Value are being displayed as its ascii value in metadata. Ex ' as #38; and & symbol as '#39;' and so on...
All special characters are being displayed as ASCII value of its. Is any way to put as it is.
Thanks a million Advance.
Regards,
Praveen
Find more posts tagged with
Comments
Migrateduser
Hi Praveen -
Is the text area in question a VFE? If so, that's where the encoding is coming from. In theory, you could set up a pre-processor for the content type that is matching your DCRs and decode it. We ran into a similar issue needing to strip HTML tags out of the description when tagging DCRs. In the end, we eliminated the description metadata element since we didn't have an immediate need for it.
pravi
Its not the Text Area/VFE.. Its simple Text Field..
I got it resolved Thanks