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

Re: [TSVN] blame won't work

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-05-17 20:30:39 CEST

Norbert Unterberg wrote:
> SteveKing schrieb:
>
>>> I'm no expert here, but in Blame.cpp, CStdioFileA::WriteString() [...]
>>>
>
> Steve,
> maybe you can help me here: When blaming a file, TortoiseProc calls
> svn_client_blame() and writes the result into a temp file. TortoiseBlame
> then is called, reads the temp file and sends its contents to a
> scintilla control. I have no expierience with scintilla, so can you tell
> me what encoding TortoiseBlame and the scintilla control expect in the
> temp file? Is it UTF8, or MBCS/ANSI?

You can set scintilla to accept any encoding, even UTF8. Check the file
src/Utils/scintilla/doc/ScintillaDoc.html in our sourcetree. Look for
SCI_SETCODEPAGE.

But svn_client_blame() always writes the file content in the same
encoding as the original file was, and that's usually the system
codepage (which is also the default in scintilla).

Stefan

-- 
        ___
   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 Tue May 17 20:31:00 2005

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.