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

Click here to return to the 'Set pbcopy to use UTF-8 by default' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set pbcopy to use UTF-8 by default
Authored by: patashnik on Sep 14, '09 12:13:13PM

I ran into an interesting issue with Snow Leopard regarding this hint: applications started from Terminal with the "open" command wouldn't respond to the usual shortcuts (Cmd-Q -> Quit, etc). A cryptic message would appear in the log: "Failed to get
CharCodes from EventRef (-9870)".

I narrowed this down to the __CF_USER_TEXT_ENCODING environment variable, which I set according to this hint. When the variable is unset, the issues are gone.

[ Reply to This | # ]