Hi,
At Tue, 11 Mar 2003 15:32:48 +0000,
Chris Croome wrote:
> > 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?
I don't think so. svn convert filename from native encoding (in this
case EUC-JP) to UTF-8 and submit it, doesn't it?
Actually I committed テスト2.txt in ja_JP.UTF-8, html looks like
<li>???????????????????2.txt</li>
0000000 < l i > < a h r e f = " %
0000020 c 3 % a 3 % c 2 % 8 3 % c 2 % 8
0000040 6 % c 3 % a 3 % c 2 % 8 2 % c 2
0000060 % b 9 % c 3 % a 3 % c 2 % 8 3 %
0000100 c 2 % 8 8 2 . t x t " > 303 243 302 203
0000120 302 206 303 243 302 202 302 271 303 243 302 203 302 210 2 .
0000140 t x t < / a > < / l i > \n
0000155
UTF-8 343 203 206 343 202 271 343 203 210 (octal)
e3 83 86 e3 82 b9 e3 83 88 (hexadecimal)
mod_dav_svn
303 243 302 203 302 206 303 243 302 202 302 271 303 243 302 203 302 210
c3 a3 c2 83 c2 86 c3 a3 c2 82 c2 b9 c3 a3 c2 83 c2 88
Regards,
Fumitoshi UKAI
---------------------------------------------------------------------
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:57:21 2003