On 27 Dec 2013, at 11:22, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:

> 
> On 27 Dec 2013, at 15:23, Ken Thomases <k...@codeweavers.com> wrote:
> 
>> On Dec 27, 2013, at 2:01 AM, Gerriet M. Denkmann wrote:
>> 
>>> 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?
>> 
>> In what app or with what code does this happen?  I'm not seeing it with 
>> TextEdit on Mac OS X 10.6.
> 
> On 10.9.1 (I don't have 10.6) I do see it with TextEdit:
> 
> Copy the text from this eMail into a TextEdit window
> use Edit → Special Characters... to change 盧 back to CJK COMPATIBILITY 
> IDEOGRAPH-F933
> Select all
> Set the font to Heiti SC Light
> copy and paste into another rich TextEdit window

 FWIW, Mail uses a WebView for its text editing, while TextEdit uses a Cocoa 
NSTextView. May be a clue.

Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to