[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: VS2005 issues (was 1.4.0-rc1 tarballs up for testing/signing)

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-06-10 17:26:29 CEST

On 6/9/06, D.J. Heap <djheap@gmail.com> wrote:
[snip]
>
> So, VC6 fputs pays attention to locale and VC2005 fputs doesn't? Does
> it sound correct that the different locales affect the output
> language?

After tracing deeper into this, it looks like the opposite is true and
why things break with VC2005 -- VC2005 fputs is translating to the
console CP for us. Since we already did it once, it is
double-translating and turning special characters into ?'s. If I
comment out the code in svn_cmdline_init that sets the input/output
encodings, then it works fine.

So...is that code to determine console CP and do input/output
encodings ourselves due to broken locale handling on VC6? Because it
appears we don't need it (and it breaks things when present) in
VC2005...how is it supposed to work on unix since we don't seem to do
any special encoding there -- does the CRT handle it?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 10 17:26:57 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.