Should copy + paste change characters?
Should copy + paste change characters?
- Subject: Should copy + paste change characters?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 27 Dec 2013 15:01:33 +0700
When I have a rich text (with the font set to Heiti SC Light), which contains these three lines:
L'œuf de volaille = 鸡卵 Note: LATIN SMALL LIGATURE OE
traditional: "盧" simplified: "卢" Note: CJK COMPATIBILITY IDEOGRAPH-F933
traditional: "雞" simplified: "鸡"
and I select all and copy it into another rich text, I get:
L'oeuf de volaille = 鸡卵 Note: LATIN SMALL LIGATURE OE
traditional: "卢" simplified: "卢" Note: CJK COMPATIBILITY IDEOGRAPH-F933
traditional: "雞" simplified: "鸡"
In the second rich text the start of the egg has changed to "oe" (which is just NOT correct French) and the difference between traditional and simplified for "black" is no longer discernible (while this difference is still visible for "chicken").
Note that all characters are part of Heiti SC Light; no font substitution has taken place nor is necessary.
Is this correct behaviour, or should one be able to trust "copy" to put the copied text unmodified to the rich pasteboards?
Workaround: copy from rich text to plain, then again from plain to other rich text - then copy the font from first rich to second rich text, then copy the paragraph style as well.
Rather tedious, but this way the data does not get changed behind my back.
Bug or feature?
Gerriet.
P.S.
This is not only a problem of Heiti, nor of Chinese fonts.
Arial Unicode MS changes LF, LINE SEPARATOR and PARAGRAPH SEPARATOR all to CR and does ignore OBJECT REPLACEMENT CHARACTER and REPLACEMENT CHARACTER.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden