[svk-devel] SVK Win32 and Encode

Benoit Beraud benoit.beraud at oviles.info
Tue Aug 28 07:57:34 EDT 2007


Hi folks,

Sorry to dig out an old topic but I still have this issue of wrong encoding.

I'm using :
svk 2.0.2
svnserve 1.4.2 (but shouldn't be a problem for this issue).

My problem is the following :

> svk add tét.txt
Can't decode path as utf8.

And when I try the previous script

> #!perl -l
> use autouse 'Encode'            => qw(resolve_alias($) decode encode);
> # from SVK::Util::get_encoding
> require Locale::Maketext::Lexicon;
> local $Locale::Maketext::Lexicon::Opts{encoding} = 'locale';
> print "<", Locale::Maketext::Lexicon::encoding(), ">";
> print "<", resolve_alias(Locale::Maketext::Lexicon::encoding()), ">";
>
> use SVK::Util;
> print "<", SVK::Util::get_encoding(), ">";

I still get the wrong answer :

<cp850>
<>
<utf8>

Does anybody have any idea where it could come from ? It's was
previously said that it's a problem of packaging but the problem seems
to still not be solved in 2.0.2.

Thanks in advance.

Benoît


More information about the svk-devel mailing list