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

Re: svn commit: r13112 - in trunk/subversion: libsvn_fs_base libsvn_subr

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-02-22 19:29:13 CET

dionisos@tigris.org writes:

> Author: dionisos
> Date: Tue Feb 22 12:07:20 2005
> New Revision: 13112

> --- trunk/subversion/libsvn_subr/utf.c (original)
> +++ trunk/subversion/libsvn_subr/utf.c Tue Feb 22 12:07:20 2005
> @@ -544,8 +540,8 @@
> (unsigned char)last[i]), NULL);
>
> return svn_error_createf (APR_EINVAL, NULL,
> - _("Valid UTF-8 data\n(hex:%s)\n"
> - "followed by invalid UTF-8 sequence\n(hex:%s)"),
> + _("Valid UTF-8 data (hex:%s)"
> + "followed by invalid UTF-8 sequence (hex:%s)"),
> valid_txt, invalid_txt);
> }

Your change is not really compatible with the comment in the code:

  /* We will display at most 24 valid octets (this may split a leading
     multi-byte character) as that should fit on one 80 character line. */

While I would agree that one line error messages are generally better,
I think this one might be an exception. Is there any particular
reason to avoid "\n", i18n perhaps?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 22 19:46:38 2005

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.