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

Re: [TSVN] "Unified diff" encoding problem in working copy path with korean characters.

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-01-27 10:41:10 CET

On Wed, 26 Jan 2005 23:18:02 +0900, tdkim <tdkim@unimo.co.kr> wrote:

> If working copy is in path with korean characters
> (In korean windows, "Desktop" is displayed in korean"바탕화면".)
> I use korean win2k, sp4.
> the output file of "Unified diff" can't correctly show path name(with korean characters) to me.
> Index: C:/Documents and Settings/Administrator/諛뷀깢 ?붾㈃/TortoiseProc/Utils.cpp
> ===================================================================
> --- C:/Documents and Settings/Administrator/諛뷀깢 ?붾㈃/TortoiseProc/Utils.cpp (revision 2542)
> +++ C:/Documents and Settings/Administrator/諛뷀깢 ?붾㈃/TortoiseProc/Utils.cpp (revision 2543)
> the default character encoding in korean windows is cp949(euc-kr).
> (so all my source files is cp949 encoding in my repository)
> I think that TSVN deals with Unicode in a path name.

The diff is created by the subversion library. And that uses the
locale settings on your system. Problem is though: TSVN has to set the
locale to "english" for its own process if you have the english
language selected in the settings dialog, otherwise TSVN would be in
english but all the Subversion error messages would be in the system
locale language (damn gettext!).
So: if you want this to work correctly, you have to install the korean
language pack and then make use of it in the settings dialog.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 27 10:41:56 2005

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