-
-
/trunk/reviewboard/diffviewer/diffutils.py (Diff revision 1) We hard-code this in several places. Maybe we should have a global setting for the default and reference that.
Allow repositories to specify the default encoding
Review Request #222 — Created Feb. 9, 2008 and submitted
Information | |
---|---|
david | |
Review Board SVN (deprecated) | |
trunk | |
380 | |
Reviewers | |
reviewboard | |
Until now, we've been assuming that all source files are either UTF-8 or ISO-8859-15. This breaks things for people who use other, incompatible encodings like Shift-JIS. This change adds an optional encoding field to the repository model so people can set it there. This is probably the best we can do, since I don't know of any VCS that actually keeps track of the encoding of files stored inside it.