From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9vue?=) Date: 2010-10-21T14:16:29+09:00 Subject: Re: [Mac OS X] from where is coming __CF_USER_TEXT_ENCODING ? Ryan Davis wrote: > > 501 % env | grep CF > __CF_USER_TEXT_ENCODING=0x1F8:0:0 > 502 % ls -l ~/.CF* > ls: /Users/ryan/.CF*: No such file or directory > > I'm set for English env in System Prefs on OSX so I was a bit surprised to > see the env var. > > "CF" is a prefix that stands for "Core Foundation", aka the bottom layer > of cocoa... so you may want to fire up xcode's lovely help system and > search around there. yes ok right, __CF_USER_TEXT_ENCODING is coming from CFUserTextEncoding. i got : imyt% env | grep CF __CF_USER_TEXT_ENCODING=0x1F5:0:1 imyt% sudo env | grep CF __CF_USER_TEXT_ENCODING=0x0:0:1 imyt% 1F5 and 0 are, respectively the UID of mine and root. -- � C'est aujourd'hui que commence le reste de ta vie. � (Dale Carnegie)