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

Re: utf8 filenames in html browser

From: Chris Croome <chris_at_webarchitects.co.uk>
Date: 2003-03-11 16:32:48 CET

Hi

On Wed 12-Mar-2003 at 12:28:11AM +0900, Fumitoshi UKAI wrote:
>
> At Tue, 11 Mar 2003 13:26:06 +0000,
> Chris Croome wrote:
>
> > On Tue 11-Mar-2003 at 05:09:12AM -0800, solo turn wrote:
> > > svn now even works with utf8 filenames. one little thing seems to
> > > be left there: if you browse it maybe with internet explorer 6, it
> > > is not displayed correctly. i.e. "?" (e with accent) becomes a
> > > sqare on the display.
> > >
> > > is there a solution for this, or would this be an issue for svn?
> >
> > This is not an issue for svn it's a user agent / os issue.
>
> Well, but there is an issue for svn to support other than latin characters.
> On LANG=ja_JP.eucJP, I can commit file with Japanese filename in EUC-JP
> encoding and handle it by svn command line, but html pages via mod_dav_svn
> shows broken filename.

OK, I was wrong :-)

> For example,
>
> % echo $LANG
> ja_JP.eucJP
> % echo test > ?????????.txt
> % svn add ?????????.txt
> A ?????????.txt
> % svn commit -m 'add Japanese filename'
> Adding tmp/?????????.txt
> Transmitting file data .
> Committed revision 81.
>
> Yes, it's ok to handle Japanese filename with svn command.
>
> But html page of this repository looks like:
>
> HTTP/1.1 200 OK
> Date: Tue, 11 Mar 2003 15:13:05 GMT
> Server: Apache/2.0.44 (Debian GNU/Linux) DAV/2 SVN/0.18.1
> ETag: "81//tmp"
> Accept-Ranges: bytes
> Content-Length: 707
> Connection: close
> Content-Type: text/html; charset=UTF-8

It the fact that this is served as UTF-8 and the file name is EUC-JP
something to do with the problem?

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/  
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 11 16:33:33 2003

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

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