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

Re: [TSVN] decimal symbol and svn

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-19 19:32:01 CET

Tuan Ngo wrote:
> This is a tricky bug
> First thing in my country the decimal symbol is "," not "."
> I use an application that reads xml files.
> There are float attributes that look like this : /x="3.14"/
> When I use File/Open to read an xml and the directory is not under svn,
> everything works fine.
> But if the directory is under svn, then the application fails to read
> float attributes.
> In other word after opening an explorer window with a svn sirectory,
> /atof("3.14")/ is 3.000 instead of 3.14 but /atof("3,14")/
> is 3.14
> I suspect TortoiseSVN to have changed the locale settings of my machine.

Short answer: no, it doesn't.
Long answer:
TSVN doesn't change the locale settings of the OS. It changes them for
its own threads, but only on the UI part, not the shell part. In the
shell part, no locales are changed at all.

So there must be something else wrong with your setup.
Also, you haven't told us anything about what TSVN version you're using,
what OS your running, installed servicepacks, ...
Without that information it is impossible to even guess what's wrong.

Did you try to copy the xml file out of your working copy and try
reading it from there? Maybe your xml file got somehow changed in the
working copy (svn keywords, lineendings changed with svn:eol-style, ...).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 19 19:33:25 2005

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