Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Ensuring File Encoding

subversion
Discussion topic

Back to topic list

Ensuring File Encoding

Author David Weintraub <qazwart at gmail dot com>
Full name David Weintraub <qazwart at gmail dot com>
Date 2009-10-01 10:54:33 PDT
Message 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
qazwart at gmail dot com
Attachments

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

Ensuring File Encoding David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-10-01 10:54:33 PDT
     Re: Ensuring File Encoding bpsm B. Smith-Mannschott 2009-10-01 12:36:23 PDT
     Re: Ensuring File Encoding bpsm B. Smith-Mannschott 2009-10-01 12:39:06 PDT
Messages per page: