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

Re: utf-8 sanity check.

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-11 23:41:20 CEST

Ben Collins-Sussman <sussman@collab.net> writes:
> I have a working copy full of directories and filenames that contain
> high-ascii characters.
>
> When you run status, or update, or commit, we not only walk over
> entries in the entries file (as UTF-8 strings), but sometimes we stat
> the files directly as well. Then the UTF-8 paths and filenames need
> to be converted to native charset so we can call apr_file_*()
> routines, no?
>
> Keep in mind, I'm assuming that the charset of your working copy is
> somehow different than your system locale. But that's no more
> far-fetched than possibly writing a log message in a locale different
> than your system locale.

Oh, I see.

+shudder+

(Actually, I suspect it is a *bit* more far-fetched than out-of-locale
log messages, but yes, it could happen :-). )

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 11 23:52:11 2002

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.