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

Re: SVN Win32 Developers -- need some help

From: eg <egoots_at_gmail.com>
Date: 2007-06-01 05:10:04 CEST

Stefan Küng wrote:

>>> Doesn't this mean that, in a sense, it has been effectively field tested
>>> under various locales for some time?
> Yes, it has been tested for some time now. But since that change is only
> in the TSVN trunk, not that many people are really using it yet.

That's good to know... for some reason I thought it was in the 1.4.x
releases already.

>>> The only objection in the original thread seems to come from someone's
>>> recollections about incomplete utf8 support under Windows.
> Yes, and such arguments simply can't be opposed. You see, there is no
> way to prove that it really works *exactly* as apr-iconv, at least not
> that I know of a way.

I agree. I am guessing / hoping the original objection was an attempt to
ping people to see if anyone had real knowledge of such issues.

>>> I recall PostgreSql running into something like this as well so I
>>> googled over there and came up with the following:
>>> http://archives.postgresql.org/pgsql-odbc/2006-03/msg00227.php
>>> and
>>> http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html#2.6
>>> Perhaps there is some useful "facts" there.
> If you read those you will see that it's not really a windows problem
> but a problem with code pages. Of course it's not possible to convert
> all utf8 sequences into one codepage. And windows has its own local
> codepages (because they're not really standardized (is that a word?)).
> And since each OS has its own local (custom) codepages, you can get into
> troubles. But: as it also says there: both MultiByteToWideChar() and
> WideCharToMultiByte() work just fine, and that's all we use.

Thats good to know it shouldn't affect SVN. It is the only tangible
objection / issue that I have come across with respect to this topic on

We have been using MultiBytoToWideChar() and WideCharToMultiByte() in
various projects targeting various locales (not really much Asian or
middle eastern languages) and haven't come across any gotchas (note: our
distribution is much, much smaller than the numbers quoted for Tortoise).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 1 05:08:45 2007

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.