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)
Problems with unicode characters on LiveSite 7.4.1 runtime
Garth McMillan
Has anyone else noticed problems with unicode character* rendering on the LiveSite 7.4.1 runtime? NOTE: The issue only occurs when the pages are viewed on the LiveSite server, preview on the TeamSite server displays the characters correctly.
* When I say unicode characters, I mean the actual single character such as "special" apostrophes, mdashes (longer hyphens), elipses (three dots) rather than the entity (& mdash;, & hellip; etc. - NOTE: I've manually inserted the space between the ampersand and the entity name here as they were being displayed as the characters).
The files themselves are encoded as UTF-8 without BOM. I don't believe the problem is due to file deployment as the files can be opened in a text editor on the LiveSite server and the characters are displayed correctly.
I've only noticed this problem with LiveSite 7.4.1, these same pages displayed fine when running on 7.3.1.
NOTE: This issue still persists with LiveSite 7.4.1 Update 1 installed.
Find more posts tagged with
Comments
Rick Poulin
Are you using the native runtime container or did you install the runtime WAR in something else?
Garth McMillan
Just the standard Apache Tomcat supplied with LiveSite.
Rick Poulin
Hmm.. well my 7.4 runtime on linux shows MSWord smart chars fine, as does my 7.3.2 runtime on windows. The difference is that [for windows 7.3.2], your tomcat service (or run.bat) needs to set -Dfile.encoding=UTF-8, which is why I was asking if you'd switched containers.. but perhaps that was removed from the 7.4 batch file / service script?
Garth McMillan
Thanks very much. I manually added the parameter to the service and viola!