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

RE: svn checkout - special characters in file name are not encoding properly

From: Bert Huijben <bert_at_vmoo.com>
Date: Mon, 9 Aug 2010 22:44:47 +0200

> -----Original Message-----
> From: Alexander Skwar [mailto:a.skwar_at_gmail.com] On Behalf Of Alexander
> Skwar
> Sent: maandag 9 augustus 2010 18:23
> To: Daniel Shahaf
> Cc: suman.mainam_at_asia.bnpparibas.com; users_at_subversion.apache.org
> Subject: Re: svn checkout - special characters in file name are not encoding
> properly
>
> Hi.
>
>
> Am 09.08.2010 um 17:31 schrieb Daniel Shahaf <d.s_at_daniel.shahaf.name>:
>
> >
> >
> > suman.mainam_at_asia.bnpparibas.com wrote on Mon, Aug 09, 2010 at
> > 11:42:04 +0530:
> >> Hi,
> >> I'm working on French project. Very recently we have migrated our
> >> project
> >> from CVS to SVN repository. After migration, when checking out the
> >> file
> >> names which have special characters like Western-Europe encoding
> >> fonts are
> >> giving problem.
> >>
> >> e.g.:"modŠle fields-replacements.xsl" is the file name inside the
> >> Subversion and after checking out the file into the local machine
> >> it is
> >> coming like "mod?le fields-replacements.xsl"
> >> Inside the file name '?' is displaying rather than Š(S with caron).
> >>
> >> Please help me to get the proper file-names from subversion without
> >> any
> >> encoding
> >> problem
> >>
> >
> > We do support UTF-8 file names:
> >
>
> And I bet, that exactly this is the problem; I bet, he's on a
> platform, which doesn't use UTF8 for encoding filenames (eg. Windows).

All standard filesystems on Windows since Windows '95 / NT use UTF-16 (or UCS-2) in the filesystem (NTFS, FAT32, VFAT), so Windows can express any character expressed in utf-8 by simple recoding. On Windows '9X the usual way to access them was using the ANSI set, but all Windows '9X versions and even Windows 2000 are out of support now, so APR handles everything for us in Unicode now.

There might be some issues if you use network shares; especially if the network share is hosted on some NAS, because these systems sometimes use older protocols and or filesystems which don't support unicode.

        Bert
Received on 2010-08-09 22:45:55 CEST

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

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