<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>Hi:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>Sorry, I think I should describe my environment more
precisely.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>I use SVK 1.0.8 in Ubuntu 6.10.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>And the function I modified is under Commit.pm, the
original code is</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>==== Original ===</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=804004308-26022007><FONT face=新細明體
color=#0000ff size=2>sub decode_commit_message {<BR> my $self
= shift;<BR> eval { from_native ($self->{message}, 'commit
message', $self->{encoding}); 1 }<BR> or die <A
href='mailto:$@.loc("try'>$@.loc("try</A>
--encoding.\n");<BR>}</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007>=== Modified ===</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007>sub decode_commit_message {<BR> my
$self = shift;<BR> eval { from_native ($self->{message},
'commit message', $self->{encoding}); 1
}<BR># comment by Mark
Wu<BR># or die <A
href='mailto:$@.loc("try'>$@.loc("try</A> --encoding.\n");<BR>}<BR></SPAN><SPAN
class=804004308-26022007></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007>Hope these information enough for you to
understand my problem.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007>Thanks.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=新細明體><FONT size=2><FONT color=#0000ff><SPAN
class=804004308-26022007>Mark</DIV></SPAN></FONT></FONT></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=zh-tw dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Mark Wu [mailto:markplace@gmail.com]
<BR><B>Sent:</B> Monday, February 26, 2007 4:38 PM<BR><B>To:</B>
'svk-devel@bestpractical.com'<BR><B>Subject:</B> About the encoding error when
I do CVS mirror!!<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>Hi:</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>I just get the encoding error
when I do the CVS mirror.</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>So, I try to comment out the
line that cause this problem. Here comes what I do:</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>=== Modify Commit.pm
with following===</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT
size=2># comment by Mark
Wu<BR># or die <A
href='mailto:$@.loc("try'>$@.loc("try</A> --encoding.\n");</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>It seems work!! But, does
there any drawbacks if I do this?</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>I am not familier with perl,
so can anyone help me about this issue?</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>Thanks.</FONT></SPAN></DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=397503308-26022007><FONT size=2>Regards,
Mark</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>