Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Copy high ASCII text between Cocoa and Carbon apps System
This hint is mostly for users using high ASCII characters like (?Å¡??žýáíé).

It applies to some Carbon/Cocoa applications and font combinations. When you try to copy accented text from some Cocoa applications to some Carbon ones (like from Adium to Entourage) via the cliboard, accented characters are messed up. like from Adium to Entourage The easy fix is to copy text via drag and drop, not the clipboard. I'm not sure whether some font preference could also fix it.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,359 views]  

Copy high ASCII text between Cocoa and Carbon apps | 1 comments | Create New Account
Click here to return to the 'Copy high ASCII text between Cocoa and Carbon apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Know your character sets
Authored by: chepner on Apr 17, '06 08:42:12AM

This is where it is helpful to know what character set you (and your applications) are using. "High ASCII" generally refers to any encoding that uses values greater than 127 (requiring the 8th or "high" bit to be set) to represent characters. There are several different character sets--such as MacRoman, Latin-1 (ISO 8859), Unicode, Windows Code Page 1252, etc.--that assign different characters to the same value. Further, there are serveral multibyte encoding schemes for Unicode, so what is intended as a single character in Unicode may be interpreted as 2, 3, or even 4 different characters in Latin-1.

I don't know enough about the internals of the clipboard and drag-and-drop to know what the exact issue here is. Perhaps the clipboard silently assumes all text copied into it is in one particular character set, regardless of the source, whereas drag-and-drop-ed text carries information about the source encoding with it.



[ Reply to This | # ]