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

Re: Localization of user replies

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-12-07 16:45:36 CET

On Tue, 7 Dec 2004, [UTF-8] Branko ─^Libej wrote:

> Peter N. Lundblad wrote:
>
> >string. Something like:
> >svn_error_t *
> >svn_utf_next_char(unsigned &code, const char **follow, const char *pos);
> >
> >
> You're going to break your head ate verey turn if you try to handle
> multibyte sequences like that. The only reasonable solution here is to
> use wide chars instead of UTF-8 in such places. Which, after a while,
> meanse everywhere (and convert to UTF-8 when doing network I/O)
>
The unsigned in my example was intended to be a wide char. I don't see why
it is a bad idea to extract complete characters from a multi-byte string.
How do you think other software that handle UTF8 internally handle this?
And no, I odn't think we should go over to using UCS-4 internally.

BR,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 7 16:46:04 2004

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