Remove unicode control symbols on Hippo Document creation

59 views
Skip to first unread message

a.udov...@gmail.com

unread,
Jan 27, 2015, 7:35:27 AM1/27/15
to hippo-c...@googlegroups.com
Hi all,

I've noticed that non-printed unicode control symbols are saved in the document, e.g. document title may be 'Test 0x03 test'. Is it possible to remove such symbols on document creation?

Kind regards,
Anton

Jeroen Reijn

unread,
Feb 3, 2015, 8:16:07 AM2/3/15
to hippo-c...@googlegroups.com
Hi Anton,

I can confirm that this indeed happens and the unicode control characters do not get removed by the CMS itself. I'm not sure if the CMS should take care of this? I understand that turning this into XML with for instance CXF and JAXB would indeed result in errors. 

I'm curious what others think about this issue and if it's something the CMS or repository should handle for us?

Jeroen

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.



--
Jeroen Reijn
Hippo

Amsterdam office - Oosteinde 11, 1017 WT Amsterdam
Boston office - 745 Atlantic Ave, Eight Floor, Boston MA 02111, United states of America.

US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com

http://blog.jeroenreijn.com | @jreijn | http://about.me/jeroenreijn

Woonsan Ko

unread,
Feb 3, 2015, 8:45:32 AM2/3/15
to hippo-c...@googlegroups.com
I also experienced this problem when trying to copy and paste from html
content in existing webs pages into rich text field.
This issue was reported in community already as well. See "Errors trying
to put content into rich text field" thread.
I sometimes notice some html pages contain Ctrl-C character, but I can't
figure out what caused that character entered initially. Maybe someone
mistyped Ctrl-V and Ctrl-C in VIM?
Anyway, I had to find and remove that kind of characters before
copy&pasting into rich text editor, which is really inconvenient.
It's not a problem of CMS, but if it is possible to have toolbar buttons
like 'Paste', 'Paste as HTML' (after cleaning up control characters),
'Paste as Text' (text only without html tags), etc. in the rich text
editor, I would really appreciate.

Regards,

Woonsan

On 2/3/15 8:16 AM, Jeroen Reijn wrote:
> Hi Anton,
>
> I can confirm that this indeed happens and the unicode control
> characters do not get removed by the CMS itself. I'm not sure if the CMS
> should take care of this? I understand that turning this into XML with
> for instance CXF and JAXB would indeed result in errors.
>
> I'm curious what others think about this issue and if it's something the
> CMS or repository should handle for us?
>
> Jeroen
>
> On Tue, Jan 27, 2015 at 1:35 PM, <a.udov...@gmail.com
> <mailto:a.udov...@gmail.com>> wrote:
>
> Hi all,
>
> I've noticed that non-printed unicode control symbols are saved in
> the document, e.g. document title may be 'Test 0x03 test'. Is it
> possible to remove such symbols on document creation?
>
> Kind regards,
> Anton
>
> --
> Hippo Community Group: The place for all discussions and
> announcements about Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to
> hippo-c...@googlegroups.com
> <mailto:hippo-c...@googlegroups.com>
> RSS:
> https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google
> Groups "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to hippo-communi...@googlegroups.com
> <mailto:hippo-communi...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/hippo-community.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Jeroen Reijn
> Hippo
>
> Amsterdam office - Oosteinde 11, 1017 WT Amsterdam
> Boston office - 745 Atlantic Ave, Eight Floor, Boston MA 02111, United
> states of America.
>
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com <http://www.onehippo.com>
>
> http://blog.jeroenreijn.com | @jreijn
> <https://twitter.com/jreijn> | http://about.me/jeroenreijn
>
> --
> Hippo Community Group: The place for all discussions and announcements
> about Hippo CMS (and HST, repository etc. etc.)
>
> To post to this group, send email to hippo-c...@googlegroups.com
> RSS:
> https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> ---
> You received this message because you are subscribed to the Google
> Groups "Hippo Community" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hippo-communi...@googlegroups.com
> <mailto:hippo-communi...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/hippo-community.
> For more options, visit https://groups.google.com/d/optout.


--
w....@onehippo.com www.onehippo.com
Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Reply all
Reply to author
Forward
0 new messages