Guten Tag Kristis Makris,
am Samstag, 16. Dezember 2006 um 00:45 schrieben Sie:

> If the locale is somehow figured out through environment variables,
> this should still be a problem without Apache (but with Subversion)
> because Subversion clears the environment completely when running hooks.

I don't really understand that point. My codepage was CP850, a Windows
one, and the output of Subversion on the console was properly encoded
by Subversion. This was a problem for SCMBug because it has read that
CP850-encoded data and Perl ist used to handle UTF-8. It's no problem
with Javiers setting because Subversions output is already in UTF-8
because of his local settings and Perl cand handle it the right way, I
think. This couldn't be possible if Subversion would clear the
environment, wouldn't it? What's the benefit of doing so from the
Subversion part?

> And possibly other SCM systems we support in the future may do the same.

>     open ( SVNLOOK_INFO, "env LANG=es_ES.UTF-8 LANGUAGE=es_ES.UTF-8
> svnlook info " . $svn_tools_argument . "\
>  $svn_txn $svn_repository |" );

> Do we need to set both LANG and LANGUAGE ?

It could be enough to set LC_ALL to the appropriate language, I think.

>> IT WORKS!!!!!!!!

> Smashing.

Yor're the man! ;-) The problem sounds like my one with PuTTY and
character conversion, always searched at the wrong place.

> I don't know how this now affects Windows 'chcp'. We might still need a
> "different" way of doing this under Windows; the way Thorsten described.
> Ahhhhw... Windows...

First you need to know if the real problem is the wrong environment
provided to Subversion by Apache, isn't it? There's a difference in
the output data Subversion provides between Javiers scenario and mine,
which would make me think that a conversion from the read input by
SCMBug depending on the local codepage settings is always necessary.

Would a be a way to clarify this while giving another codepage to
Subversion in Javiers open-line? Something like ISO-8859-1, in which
his characters would mean problems to SCMBug, too, without any
conversion to the internally used UTF-8.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
eMail [EMAIL PROTECTED]
 
Telefon Potsdam...0331-743881-0
Telefon Mobil.....0178-8 9468-04

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to