Currently I have a local Subversion repository with a lot of commit messages in cp1251
encoding.
Is there any way I can convert all commit messages into utf-8
encoding?
As Rup-8 says, subversion should convert all log messages to UTF-8 before storing them in the repository, and back to the local encoding for display. If your log messages aren't being converted correctly, either:
Your commit messasges are already stored as UTF-8:
If you've somehow double-encoded them, though, then assuming you're using an FSFS-style repository the easiest way will probably be to work through all the revprop files that you find in
db/revprops/*/*
underneath your repository and re-write them with the correct encoding, e.g. using the iconv command-line tool from GnuWin32. (Note that these files should have Unix line endings i.e. LF not CRLF).