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

Re: renaming svn_io_file_printf to svn_io_file_printf_from_utf8

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-12-05 00:14:28 CET

Erik Huelsmann wrote:

>In libsvn_diff there are a lot of calls to svn_io_file_printf which
>translates from utf8 to locale and does a printf to the specified file.
Which is especially bad when the "file" happens to be the Win32 console
output, which typically uses a different encoding than the "native".
Renaming this file won't help. We need a completely different output
mechanism if we want this code to ever work correctly in the Windows
command line.

>Anyone opposed to making this change?
I'd rather change the libsvn_diff API to accept a svn_stream handle.
That way GUI clients can use the diff output formatters in libsvn_diff, too.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 5 00:15:18 2003

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.