[viewvc-users] I18N: Can't browsing file/directory which contains Chinese; timezone name displayed malformed

LiuYan 刘研 <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1036354884.5297.1289879641193.JavaMail.httpd@localhost>
Hi,

I've setup viewvc-1.1.6 in Apache-2.2.7-win32 on Windows Server 2003 system for svn-win32-1.6.13 web browsing.

the viewvc URL for one SVN repository is
http://192.168.105.4:8000/viewvc/cmcc/

1. Can't browsing file/directory which contains Chinese

There are Chinese characters in file/directory name, when browsing these files/directories, browser will display someting like the following:

  An Exception Has Occurred
  Unknown location: /dev/2006-10-08 ?oo???????????????

  HTTP Response Status
  404 Not Found

I also setup mod_dav_svn under this URL
http://192.168.105.4:8000/svn/cmcc/
It's ok when using mod_dav_svn to browsing files/directories which contains chinese characters.

I searched viewvc.conf, I can't find a file/directory encoding config item.



2. Timezone name displayed malformed when browsing log of file
I set 'use_localtime = 1' to use China Standard Time (which in Chinese it's 中国标准时间), I believe '中国标准时间' is encoded in GBK encoding, and viewvc use UTF-8 encoding to encode web pages, so GBK charactesr and UTF-8 characters can't displayed well at the same time/page.

Added Tue Nov 09 17:34:12 2010 �й���׼ʱ�� (6 days, 18 hours ago)

Is there a way to config timezone name encoding?
AND, is there a way to config datetime format? such as yyyy-MM-dd hh:mm:ss

Thanks!

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2682078

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.