• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Should copy + paste change characters?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Should copy + paste change characters?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Creating NSButton in Code does not set controlTint to currentControlTint
  • Next by Date: Re: Should copy + paste change characters?
  • Previous by thread: Re: Creating NSButton in Code does not set controlTint to currentControlTint
  • Next by thread: Re: Should copy + paste change characters?
  • Index(es):
    • Date
    • Thread