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

Re: property display on file properties dialog missing (moved to separate dialog) in 1.4 (give my properties back)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-30 09:50:18 CEST

Tan Ruyan wrote:
> I notice that properties dialog have some problems when show
> no-english characters.
>
> But in the edit property dialog there is fine.
>
> problem is here:
> =============================
> http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/TortoiseProc/PropDlg.cpp
>
>
> UINT CPropDlg::PropThread()
> {
> SVNProperties props(m_Path, m_rev);
>
> m_proplist.SetRedraw(false);
> int row = 0;
> for (int i=0; i<props.GetCount(); ++i)
> {
> CString name = props.GetItemName(i).c_str();
> CString val = CUnicodeUtils::GetUnicode((char
> *)props.GetItemValue(i).c_str());
>
> .......
> ==========================

What's the problem here?
I can't see the problem and also can't reproduce it. When I add a value
to a property with non-english chars, it shows up correctly in both
dialogs. Can you please give an example?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Sep 30 09:50:25 2006

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.