On Thu, Sep 8, 2011 at 2:30 PM, Mark Phippard <markp...@gmail.com> wrote:
> On Thu, Sep 8, 2011 at 2:27 PM, C. Michael Pilato <cmpil...@collab.net> wrote:
>> Why does the command-line client work?  Does it not also use the locale
>> encoding for its diff headers?  At any rate, consistency between the
>> behaviors of the relevant Java and C APIs seems like a reasonable goal.
>
> I have not tested exhaustively, but my OSX Terminal says UTF-8 is the
> default encoding.  Maybe that is why I do not see it from command
> line?

FWIW, even if I explicitly set LANG=en_US.UTF-8 before launching Java,
and even if I change all of the JVM properties to make UTF-8 the
default encoding for files for the JVM, I still get this error.  So
JavaHL does not seem to pickup the environment in the same ways as the
command line.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Reply via email to