On 2 Sep 2008, at 08:52, David Peckham wrote:
[...] and this unexpected result when run from PyMate: PyMate r8111 running Python 2.5.2 (/usr/bin/env python) >>> loc.py C/en_US.UTF-8/C/C/C/C 282929992
TM itself sets LC_CTYPE since it is only concerned about character encoding for the processes it launches (for stdin/out).
If you want to have LC_ALL set for the processes it launches, set it in Preferences → Advanced → Shell Variables.