Thank you Marcus,
So am I understand correctly that Subversion delevelopers consider this is a
feature, rather then a bug? I have no personal opinion on that so far,
though creating UTF-8 encoded files is usually not as easy as system-encoded
ones and it is not obvious that is should be done that way for the first
time user, so usual use case will be - create system-encoded passwd file,
get an error, guess that it should be UTF-8 encoded, encode the file.
May be comment on that should be put into the passwd file and configuration
> -----Original Message-----
> From: Marcus Rueckert [mailto:email@example.com]
> Sent: Wednesday, March 08, 2006 17:26
> To: Alexander Kitaev
> Cc: firstname.lastname@example.org
> Subject: Re: Non-ASCII user names when "svn" protocol is used.
> On 2006-03-08 12:51:27 +0100, Alexander Kitaev wrote:
> > I've investigated an issue with non-ASCII user names (those
> that are
> > multibyte encoded in UTF-8) and "svn" protocol. Finally I
> found that
> > sending user name in UTF-8 will doesn't work (svnserve reports
> > "username not found") unless username in conf/passwd file is also
> > UTF-8 encoded, because when user name is read from the
> config file by
> > svnserve it is not converted to UTF-8 string and thus
> doesn't match user name string sent by the client.
> > As far as I understand passwd file, as well as other configuration
> > files are usually edited with editors that saves files in
> system encoding, not UTF-8.
> > Does it makes sense to change code that reads passwd file
> to convert
> > user names and passwords to UTF-8, before returning them to the
> > caller? Am I understand correctly that right now non-ASCII
> user names
> > may only be used when passwd file contains user name in UTF-8?
> > I was not able to use non-ASCII user name with command line
> at all (it
> > was saying that character is not convertable to UTF8), but it is
> > probably because there is something wrong with my system setup.
> from my experience it is always the best solution to use utf8
> for all svn related config files. saves you trouble and hair.
> openSUSE - SUSE Linux is my linux
> openSUSE is good for you
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Mar 8 18:46:45 2006