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

Ensuring File Encoding

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 1 Oct 2009 13:54:31 -0400

We are beginning to have problems with file encoding. We want to ensure all
files we commit are in fact encoded in UTF-8. I would like to add this
ability in my pre-commit hook, and reject any commits which has files in it
that aren't encoded in UTF-8 (well, text files). But I am not 100% sure how
to test a file's encoding.

How can I test to see if a file is encoded in UTF-8?

David Weintraub
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-01 19:55:22 CEST

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