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

Re: Call For Votes: converting log messages to UTF-8

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-05-31 19:46:41 CEST

On Fri, 2002-05-31 at 13:38, Greg Stein wrote:
> Converting from charset FOO to UTF-8 is a specific translation. No data
> loss. Converting from UTF-8 back to FOO is a perfect restoration.

Hm, is this always true?

For instance, a Shift-JIS document could have redundant shift octets.
(Is that invalid? If so, does an iconv() from Shift-JIS to UTF-8
actually enforce that?) Converting such a document to UTF-8 and back is
presumably not an identity transformation on the octets. If the source
document was not actually in Shift-JIS but was in some other character
set, you could lose data.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 1 14:11:41 2002

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