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

Re: bug report: property editor does not correctly handle UTF-8

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 26 May 2008 21:59:42 +0200

Garret Wilson wrote:
> TortoiseSVN 1.4.8 build 12137 on Windows XP SP3 does not correctly
> handle UTF-8 when editing properties and seems to assume that all
> property values are ASCII.
>
> This is broken.
> This is very bad.
> This is an important, fundamental data encoding issue.

It's neither broken nor bad.
Only the Subversion properties must be encoded in utf8 (the svn:
properties, and our own ones bugtraq:, tsvn:, ...).
All other properties are actually *binary* and therefore must not be
encoded but treated as entered.

TSVN 1.5 does however check whether you enter text or some binary data
and encodes it in UTF8 if it recognizes text.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-05-26 22:00:01 CEST

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