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: batmanppc on Jan 05, '09 08:12:54AM

Does this allow you to do what you need without adding it to the shell script?

In Terminal.app:
defaults write ~/.MacOSX/environment '__CF_USER_TEXT_ENCODING' '0x1F5:0x8000100:0x8000100'

You'll need to logout/login for it to take effect.

---
=====================================================================
Mohammad A. Haque
http://www.haque.net/
mhaque()haque.net



[ Reply to This | # ]
Set pbcopy to use UTF-8 by default
Authored by: edvakf on Jan 05, '09 08:21:58AM
The first argument "0x1F5" is actually your GID. It's the hexadecimal version of 'id -g'.
So if your GID is 502 in stead of 501, then you must make it "0x1F6".

http://listserv.dartmouth.edu/scripts/wa.exe?A2=ind0607&L=NISUS&D=0&P=54229

[ Reply to This | # ]
Set pbcopy to use UTF-8 by default
Authored by: batmanppc on Jan 08, '09 09:18:21AM

Actually, don't do this. Weird things happen as not everything likes UTF-8 and/or can't handle the transition.

---
=====================================================================
Mohammad A. Haque
http://www.haque.net/
mhaque()haque.net



[ Reply to This | # ]
Set pbcopy to use UTF-8 by default
Authored by: derrickbass on Jan 19, '09 10:34:13PM

Indeed, don't do this. I couldn't launch DVD Player after doing this.



[ Reply to This | # ]