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

[TSVN][Bug Report] "non-LF line endings" error for korean characters.

From: TaeDong Kim <fly1004_at_gmail.com>
Date: Fri, 17 Oct 2008 14:41:51 +0900

>TaeDong Kim wrote:
>>>> I think that
>>>> the problem occurs when
>>>> * The end of line is a Non-ASCII character.
>>>> * The line is not a last line.
>>>> * The number of characters of line is important.
>>> I can not reproduce this by copy/pasting your examples above into the
>>> commit dialog. I don't get that error.
>>> Can you maybe get a reproduction recipe that might work on my machine?
>>>
>>> Stefan
>>
>> Thanks for your reply.
>>
>> I tested it for svn and TSVN(1.4.232) again.
>> I attached the svn-commit.txt.
>>
>> A svn command is ok.
>> {{{
>> svn commit -F svn-commit.txt
>> }}}
>>
>> But TSVN is not ok for the same content
>>
>> I think that
>> TSVN maybe convert a log message before transfering it to subversion.
>
>I'm sorry, but could you maybe send the text file again, but this time
>make sure it's in utf8 or unicode encoding? The file you've sent is in
>your local encoding, which I can not use :(
>
>Also, can you try an 1.5.x client of TSVN for this and not 1.4.x?
>
>Stefan

Thanks for reply.

>> I tested it for svn and TSVN(1.4.232) again.
This is a wrong version infomation.
1.4.232 -> revision 14232. Sorry...

I tested TSVN and svn.exe (from nightly build, 1.5.99-r14318-32bits)

I attached cp949.txt and utf8.txt
Two files have same content.

This is test results of console command(svn.exe).
{{{
> svn commit -F cp949.txt
## commit ok.

> svn commit -F utf8.txt
## commit ok. but the log message in LogDlg doesn't display correctly.

> svn commit --encoding cp949 -F cp949.txt
## commit ok.

> svn commit --encoding utf8 -F utf8.txt
## commit error. The error message is
svn: Commit failed (details follow):
svn: Error normalizing log message to internal format
svn: Non-ASCII character (code 237) detected, and unable to convert
to/from UTF-8
}}}

Thanks for TSVN...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-10-17 07:42:59 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.