[opencms-dev] Accented & Special Characters in WYSIWYG Editor (fwd)
kevin fong
kfong at spto.org
Fri Jun 25 00:31:01 CEST 2004
Have managed to get and build the sources from cvs.opencms.org - problem with my internet connection. I built opencms.jar from the "org.opencms.*" package and opencms-legacy.jar from the "com.opencms.*" package and copied these to the "lib" folder.
When I re-start OpenCMS I get a:
================================================================
Critical error during OpenCMS context init phase:
org.opencms.main.CMSInitException: OpenCMS Initialization error
================================================================
\From the log files, the root cause seems to be:
===============================================
25 Jun 2004 10:09:14,968 ERROR [ache.commons.digester.Digester:1439] Parse Error at line 32 column 8: The content of element type "vfs" must match "(resources,translations?)".
org.xml.sax.SAXParseException: The content of element type "vfs" must match "(resources,translations?)".
Are there other steps/config files that need to be performed? Any workplace/db changes to be imported to upgrade to 5.3.5?
Is there anywhere I will be able to find upgrade notes for 5.3.5?
Regds,
Kevin.
On Jun 24 14:31, kevin fong <kfong at spto.org> wrote:
>
> Subject: RE: [opencms-dev] Accented & Special Characters in WYSIWYG Editor (fwd)
>
> Thanks very much Alexander,
>
> I am having trouble connecting to cvs.opencms.org using:
>
> :pserver:anon at cvs.opencms.org:/usr/local/cvs
> password: anon
>
> I am not able to ping the server (217.115.144.63)cvs.opencms.org Has it been moved to another location?
>
> Regds,
> Kevin
>
>
> ===== Forwarded message from "Alexander Kandzior" <alex at opencms.org> =====
>
> \From: "Alexander Kandzior" <alex at opencms.org>
> Reply-To: opencms-dev at opencms.org
> To: <opencms-dev at opencms.org>
> Subject: RE: [opencms-dev] Accented & Special Characters in WYSIWYG Editor
> Date: Thu, 24 Jun 2004 09:43:07 +0200
>
> Kevin,
>
> the eoncoding issues in the WSIWYG should be gone in OpenCms 5.3.5, the
> latest milestone build already avaliable from CVS.
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] On Behalf Of kevin fong
> > Sent: Thursday, June 24, 2004 6:23 AM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Accented & Special Characters in WYSIWYG Editor
> >
> >
> > Hi all,
> >
> > Whilst using the WYSIWYG MSHTML editor to edit pages, I
> > realised that accented characters like "ë" become malformed
> > after the page is saved. By changing the following file
> > /system/workplace/skins/modern/editors/msdhtml/scripts/edithtm
> > l.js :
> > ==============================================================
> > ==================
> > function saveContent() {
> > var _form = document.EDITOR;
> > var _editor = _form.EDIT_HTML;
> > var content_to_save = "";
> > if (_editor.DOM.documentElement) {
> >
> > // FROM: _form.content.value =
> > encodeURIComponent(_editor.filterSourceCode(_editor.DocumentHTML));
> >
> > _form.content.value =
> > _editor.filterSourceCode(_editor.DocumentHTML); //CHANGED TO
> >
> > } else {
> > // IE4
> > _form.content.value =
> > encodeURIComponent(_editor.DocumentHTML);
> > }
> > }
> >
> > ==============================================================
> > ==================
> >
> > By excluding encodeURIComponent, it fixes "malformation"
> > problem with accented characters but creates other encoding
> > exceptions when content that needs
> > to be converted by encodeURIComponent does not get encoded
> > properly(because the method is now excluded). Sort of a
> > catch 22 situation here and would most appreciate any advice
> > on this matter especially from the experts out there who
> > content manage websites that uses languages that have
> > accented characters.
> >
> > The workaround solution is to use the source code editor to
> > use the html encodings "&eactute;" but my end users are not
> > familiar with html and this does not serve as an acceptable
> > solution for them. _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> >
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
> ===== End forwarded message =====
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list