how to set my LANG value on OSX, if i set it to "C" i dont have accentuated accents in Command Line like "é" which becomes "C). how to correct ?
Posted on 2014-04-07
i have updated my macbookpro to maverick. my system is in english.
since then i have some bash scripts problems, for instance when i launch a script which contains sed commands. i receive : sed: RE error: illegal byte sequence
i've google on this error and the solution should be for me - i'm using screen which load a .bashrc - to add to my .bashrc "export LC_ALL=C" or "export LC_ALL=POSIX"...
if i set on of the two in my .bashrc , i dont have the sed problem but i can not use accentuated characters in my CLI.
i have also exported
but this doesn't change the behaviour,
i have set all: LC_MONETARY, LC_NUMERIC... with the same value as LANG .
can anyone tell me how to set this LC_* values in order to have my sed receiving utf-8 but also my CLI ?
thank you in advance for all your infos.
i've read sofar that