Categories
Uncategorized

Subversion Charset

I’ve just noticed in the pugs::hack document a useful tip for informing subversion about the charset of a file.

svn propset svn:mime-type "text/plain; charset=UTF-8" myfile

A quick browse through the subversion list archives shows that it appears to be “not forbidden” even if not 100% officially sanctioned. It’ll certainly work for its intended purpose of displaying character sets correctly when browsing a repository via HTTP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s