On Fri, Oct 21, 2005 at 02:58:10PM +0200, Wolfgang Jeltsch wrote:
> how does darcs handle non-ASCII characters in filenames, patch names and long 
> comments?  What happens, for example, if someone who uses a different 
> character encoding than me fetches a copy of my repository via darcs get?  
> Will non-ASCII characters be properly interpreted?

When outputting to the terminal darcs is supposed to escape
everything that is not printable ASCII by default.  There are
some environment variables described in section 'Character
escaping and non-ASCII character encodings' in the manual
<http://www.darcs.net/manual/> to allow 8-bit chars and UTF8.

Darcs does not interpret the encoding of patch names or
patch comments, so the output can probably look garbage if
looked at with a wrong locale.  The same should be true for
file names, but I believe there is some interference with a
Haskell module that uses UTF8, and I've sometimes seen UTF8
in output of filenames event hough I use Latin1, which should
be regarded as bugs.


-- 
Tommy Pettersson <[EMAIL PROTECTED]>

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to