Opened 8 years ago

Last modified 8 years ago

#14516 confirmed Bug

Copy form Safari: broken encoding

Reported by: Paul Libbrecht Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: Safari Mac Cc:

Description

Steps to reproduce

  1. go to a CKEditor (e.g. http://ckeditor.com/demo) using the current Safari (tested with Version 9.0.3 (11601.4.4) on MacOSX 10.11.3)
  2. type a test with some accents or other encodings (e.g. "c'est l'été ô oui"; note for US keyboard use alt-E then E to enter é)
  3. copy that text and go to a "classical rich-text editor" of Apple such as TextEdit, Stickies and paste

Expected result

The text with accents should be pasted.

Actual result

The accents are broken (using the classic ut-8-file-is-read-with-some-8-bit-encoding pathology: most accents show as two unrelated characters)

Opening ClipboardViewer which lists the flavours, it seems like the public/html flavour is there but without any header that indicates the charset (whereas this header is there when copying in the same place with Firefox or Chrome).

Other details (browser, OS, CKEditor version, installed plugins)

browser and OS, see above. CKEditor version: today's version on ckeditor.com/demo. I seem to understand that there's no plugin playing here... but I am not sure.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Keywords: Safari Mac added
Status: newconfirmed
Version: 4.5.74.5.0

Problem can be reproduced from CKEditor 4.5.0.

While pasting from CKEditor into Notes didn't sound like CKEditor issue at first, it seems perfectly valid after having closer look.

This issue doesn’t occur when: you paste from CKEditor Chrome, plain textarea or CKEditor Safari below version 4.5.0.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy