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

Re: Character Encoding

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 26 Jun 2008 10:17:02 -0500

On Jun 26, 2008, at 05:25, boliver_at_lvlomas.com wrote:

> Thanks for the info. Let give a walk through of this problem and
> hopefully that might help narrow down the possible issues.
> - file is viewed in a Windows based editor and the encoding is fine

And presumably, like you said earlier, the encoding is UTF-8, and the
Windows editor understands UTF-8.

> - file is commited to Subversion
> - an svn export is then done on the file to an AIX system
> - when I view the file in a VI editor on the AIX system, the
> encoding is wonky and the French characters are garbbled

Then presumably VI does not understand UTF-8, or does not know that
this file is to be treated as UTF-8. It might help if you would show
us what exactly you mean by "wonky" and "garbled".

> - but if I delete the garbled characters and paste the French
> characters back into the file, while still using the VI editor,
> they go in fine.

And if you save the file and then look at "svn diff" do these
characters show up? In other words, does Subversion think that
changes have occurred? If so, then probably VI is using a different
character encoding than your Windows editor was.

> So I am not sure where the glitch or problem is. It may not be a
> Subversion problem at all but this is where I am starting.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-26 20:18:22 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.